#8A0C66
Closest named color: Red Violet (#9E0168). oklch(42.8% 0.175 344.1), rgb(138, 12, 102).
Aa
White text reads best on this color (9.03:1).
About this color
#8A0C66 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.175 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.042 away. White text reads best on it, at 9.03:1.
| Hue family | Purples |
| Lightness | dark (43%) |
| Chroma | vivid (0.175) |
| Temperature | warm |
| Nearest name | Red Violet (#9E0168) |
| Black text | 2.32:1 |
| White text | 9.03:1 |
Values
| HEX | #8A0C66 |
| RGB | rgb(138, 12, 102) |
| HSL | hsl(317, 84%, 29%) |
| OKLCH | oklch(42.8% 0.175 344.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 #8A0C66 | 9.03:1 | AAA | Lc -93.6 | Preferred for body text |
| Black text on #8A0C66 | 2.32:1 | Fails | Lc 15.0 | Dividers and decoration only |
| #8A0C66 text on white | 9.03:1 | AAA | Lc 89.0 | Fine for body text |
| #8A0C66 text on black | 2.32:1 | Fails | Lc -13.2 | Not readable |
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 800.
-
Step 50
50
#FDF2F8
oklch(97.1% 0.014 343.2)
-
Step 100
100
#F9E2EF
oklch(93.5% 0.03 342.6)
-
Step 200
200
#F5CBE2
oklch(88.5% 0.056 344.2)
-
Step 300
300
#F0A6D1
oklch(80.9% 0.102 343.9)
-
Step 400
400
#E572B9
oklch(70.7% 0.164 344.2)
-
Step 500
500
#DA45A8
oklch(63.1% 0.21 344)
-
Step 600
600
#C51693
oklch(55.6% 0.227 344.1)
-
Step 700
700
#A9007D
oklch(49.1% 0.21 344)
-
Step 800
800 (this color)
#8A0C66
oklch(42.8% 0.175 344.1)
-
Step 900
900
#6F1753
oklch(37.7% 0.137 344)
-
Step 950
950
#411031
oklch(26.9% 0.087 343.2)
#8A0C66 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) | #213C68 | 0.199 |
| Deuteranopia (no green cones) | #495063 | 0.169 |
| Tritanopia (no blue cones) | #940A3B | 0.076 |
| Achromatopsia (no color) | #494949 | 0.176 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A0C66
#8A0C66
oklch(42.8% 0.175 344.1)
- #005E42
#005E42
oklch(42.7% 0.09 164.7)
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 #8A0C66, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Violet #9E0168 ΔE 0.042
- Mulberry #920A4E ΔE 0.046
- Dark Fuchsia #9D0759 ΔE 0.048
- Deep Magenta #A0025C ΔE 0.051
- Red Purple #820747 ΔE 0.053
- Purple #800080 ΔE 0.054
- Velvet #750851 ΔE 0.056
- Rich Purple #720058 ΔE 0.059
Use #8A0C66 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.