#794dc7
#794dc7 converts to rgb(121, 77, 199) and hsl(262, 52%, 54%). Its nearest Tailwind CSS token is purple-700.
01
Conversions
02
WCAG contrast
| Background | Ratio | AA text | AA large | AAA text |
|---|---|---|---|---|
| white | 5.68:1 | pass | pass | fail |
| black | 3.70:1 | fail | pass | fail |
| slate-900 | 3.14:1 | fail | pass | fail |
| gray-100 | 5.16:1 | pass | pass | fail |
Ratios are computed from WCAG 2.x relative luminance. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1.
03
Tints and shades
Lightness ladder in HSL space, from the lightest tint to the darkest shade of #794dc7.
04
Similar colors in the library
Nearest swatches by perceptual OKLab distance across all curated style palettes.
05
AI prompt snippet
Use #794dc7 (rgb(121, 77, 199), nearest Tailwind token purple-700) as an accent. Keep text contrast at least 4.5:1 — this color scores 5.68:1 on white and 3.7:1 on black.
Paste this into ChatGPT, Claude, Cursor, or v0 to use #794dc7 with correct contrast constraints. Browse all palette colors.