#8402CF
Closest named color: Dark Violet (#9400D3). oklch(49% 0.254 305.1), rgb(132, 2, 207).
Aa
White text reads best on this color (7.26:1).
About this color
#8402CF is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.254 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Violet (#9400D3), ΔE 0.033 away. White text reads best on it, at 7.26:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.254) |
| Temperature | in between |
| Nearest name | Dark Violet (#9400D3) |
| Black text | 2.89:1 |
| White text | 7.26:1 |
Values
| HEX | #8402CF |
| RGB | rgb(132, 2, 207) |
| HSL | hsl(278, 98%, 41%) |
| OKLCH | oklch(49% 0.254 305.1) |
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 #8402CF | 7.26:1 | AAA | Lc -87.9 | Fine for body text |
| Black text on #8402CF | 2.89:1 | Fails | Lc 21.2 | Dividers and decoration only |
| #8402CF text on white | 7.26:1 | AAA | Lc 82.9 | Fine for body text |
| #8402CF text on black | 2.89:1 | Fails | Lc -19.1 | 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
#F8F3FF
oklch(97.1% 0.017 304.8)
-
Step 100
100
#EFE4FD
oklch(93.5% 0.035 305.5)
-
Step 200
200
#E3CEFE
oklch(88.4% 0.069 304.9)
-
Step 300
300
#D3ACFF
oklch(80.8% 0.121 305.4)
-
Step 400
400
#BD7BFF
oklch(70.6% 0.193 305.1)
-
Step 500
500
#AE4EFF
oklch(63.1% 0.25 305)
-
Step 600
600
#9B1EEE
oklch(55.7% 0.273 305.3)
-
Step 700
700 (this color)
#8402CF
oklch(49% 0.254 305.1)
-
Step 800
800
#6B11A7
oklch(42.6% 0.209 305.1)
-
Step 900
900
#571C85
oklch(37.8% 0.164 305.1)
-
Step 950
950
#33134E
oklch(27.1% 0.104 305.3)
#8402CF 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) | #0054D4 | 0.180 |
| Deuteranopia (no green cones) | #0057CC | 0.182 |
| Tritanopia (no blue cones) | #754D79 | 0.176 |
| Achromatopsia (no color) | #575757 | 0.256 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8402CF
#8402CF
oklch(49% 0.254 305.1)
- #506C00
#506C00
oklch(49.1% 0.124 125.4)
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 #8402CF, closest first.
No curated palette has a color within ΔE 0.04 of #8402CF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Violet #9400D3 ΔE 0.033
- Blue Violet #8A2BE2 ΔE 0.047
- Grape #7209B7 ΔE 0.051
- Dark Orchid #9932CC ΔE 0.063
- Burple #6832E3 ΔE 0.075
- Vivid Purple #9900FA ΔE 0.076
- Purple Blue #5D21D0 ΔE 0.079
- Purply Blue #661AEE ΔE 0.083
Use #8402CF 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.