#7942CE
Closest named color: Bluey Purple (#6241C7). oklch(52.2% 0.204 296.7), rgb(121, 66, 206).
Aa
White text reads best on this color (6.02:1).
About this color
#7942CE is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.204 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.043 away. White text reads best on it, at 6.02:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.204) |
| Temperature | in between |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.48:1 |
| White text | 6.02:1 |
Values
| HEX | #7942CE |
| RGB | rgb(121, 66, 206) |
| HSL | hsl(264, 59%, 53%) |
| OKLCH | oklch(52.2% 0.204 296.7) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #7942CE | 6.02:1 | AA | Lc -84.7 | Fine for body text |
| Black text on #7942CE | 3.48:1 | AA large text | Lc 24.6 | Dividers and decoration only |
| #7942CE text on white | 6.02:1 | AA | Lc 79.5 | Fine for body text |
| #7942CE text on black | 3.48:1 | AA large text | Lc -22.4 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.
-
Step 50
50
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#EBE6FB
oklch(93.5% 0.029 296.7)
-
Step 200
200
#DCD2FA
oklch(88.4% 0.055 296.7)
-
Step 300
300
#C7B4F9
oklch(81% 0.098 296.8)
-
Step 400
400
#AB89F6
oklch(70.7% 0.157 296.5)
-
Step 500
500
#9866F2
oklch(63% 0.202 296.6)
-
Step 600
600
#8448E1
oklch(55.6% 0.219 296.5)
-
Step 700
700 (this color)
#7942CE
oklch(52.2% 0.204 296.7)
-
Step 800
800
#5B2F9E
oklch(42.6% 0.17 296.7)
-
Step 900
900
#4A2C7E
oklch(37.7% 0.132 296.3)
-
Step 950
950
#2B1B4A
oklch(27% 0.084 296)
#7942CE with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #0063D2 | 0.133 |
| Deuteranopia (no green cones) | #0061CB | 0.133 |
| Tritanopia (no blue cones) | #636483 | 0.157 |
| Achromatopsia (no color) | #636363 | 0.205 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7942CE
#7942CE
oklch(52.2% 0.204 296.7)
- #667100
#667100
oklch(52.1% 0.119 116.3)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7942CE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.043
- Blue Violet #8A2BE2 ΔE 0.051
- Light Indigo #6D5ACF ΔE 0.052
- Slate Blue #6A5ACD ΔE 0.054
- Burple #6832E3 ΔE 0.054
- Purpley #8756E4 ΔE 0.058
- Iris #6258C4 ΔE 0.059
- Dark Orchid #9932CC ΔE 0.063
Use #7942CE in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.