#9A02BB
Closest named color: Dark Violet (#9400D3). oklch(50.5% 0.244 318.1), rgb(154, 2, 187).
Aa
White text reads best on this color (6.77:1).
About this color
#9A02BB is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.244 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Violet (#9400D3), ΔE 0.041 away. White text reads best on it, at 6.77:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | vivid (0.244) |
| Temperature | in between |
| Nearest name | Dark Violet (#9400D3) |
| Black text | 3.10:1 |
| White text | 6.77:1 |
Values
| HEX | #9A02BB |
| RGB | rgb(154, 2, 187) |
| HSL | hsl(289, 98%, 37%) |
| OKLCH | oklch(50.5% 0.244 318.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 #9A02BB | 6.77:1 | AA | Lc -86.2 | Fine for body text |
| Black text on #9A02BB | 3.10:1 | AA large text | Lc 23.0 | Dividers and decoration only |
| #9A02BB text on white | 6.77:1 | AA | Lc 81.0 | Fine for body text |
| #9A02BB text on black | 3.10:1 | AA large text | Lc -20.8 | 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
#FAF2FD
oklch(97% 0.017 316.9)
-
Step 100
100
#F4E3F9
oklch(93.6% 0.034 318.5)
-
Step 200
200
#ECCCF6
oklch(88.5% 0.066 318.1)
-
Step 300
300
#E1A8F2
oklch(80.9% 0.118 318.3)
-
Step 400
400
#D075EB
oklch(70.7% 0.188 318.1)
-
Step 500
500
#C346E5
oklch(63.1% 0.242 318.1)
-
Step 600
600
#AE11D2
oklch(55.5% 0.262 318.2)
-
Step 700
700 (this color)
#9A02BB
oklch(50.5% 0.244 318.1)
-
Step 800
800
#790894
oklch(42.7% 0.202 317.8)
-
Step 900
900
#621776
oklch(37.7% 0.158 317.9)
-
Step 950
950
#3A1145
oklch(27.1% 0.099 318.4)
#9A02BB 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) | #0053BF | 0.220 |
| Deuteranopia (no green cones) | #125FB8 | 0.220 |
| Tritanopia (no blue cones) | #993E6D | 0.150 |
| Achromatopsia (no color) | #5B5B5B | 0.246 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9A02BB
#9A02BB
oklch(50.5% 0.244 318.1)
- #2E7800
#2E7800
oklch(50.6% 0.157 138.1)
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 #9A02BB, closest first.
No curated palette has a color within ΔE 0.04 of #9A02BB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Violet #9400D3 ΔE 0.041
- Dark Orchid #9932CC ΔE 0.048
- Vibrant Purple #AD03DE ΔE 0.064
- Purply #983FB2 ΔE 0.065
- Blue Violet #8A2BE2 ΔE 0.078
- Dark Magenta #8B008B ΔE 0.081
- Warm Purple #952E8F ΔE 0.081
- Grape #7209B7 ΔE 0.084
Use #9A02BB 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.