#9872BE
Closest named color: Deep Lilac (#966EBD). oklch(62% 0.118 306.2), rgb(152, 114, 190).
Aa
Black text reads best on this color (5.48:1).
About this color
#9872BE is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.118 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.011 away. Black text reads best on it, at 5.48:1.
| Hue family | Purples |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.118) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.48:1 |
| White text | 3.82:1 |
Values
| HEX | #9872BE |
| RGB | rgb(152, 114, 190) |
| HSL | hsl(270, 37%, 60%) |
| OKLCH | oklch(62% 0.118 306.2) |
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 #9872BE | 3.82:1 | AA large text | Lc -71.2 | Content text, not long reading |
| Black text on #9872BE | 5.48:1 | AA | Lc 38.4 | Non-text elements, placeholder text |
| #9872BE text on white | 3.82:1 | AA large text | Lc 65.7 | Content text, not long reading |
| #9872BE text on black | 5.48:1 | AA | Lc -36.0 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F7F4FA
oklch(97.1% 0.009 308.4)
-
Step 100
100
#ECE7F3
oklch(93.5% 0.017 304.8)
-
Step 200
200
#DED4EA
oklch(88.5% 0.032 306.2)
-
Step 300
300
#CAB7DF
oklch(80.8% 0.059 306.6)
-
Step 400
400
#AF92CE
oklch(70.8% 0.091 306.3)
-
Step 500
500 (this color)
#9872BE
oklch(62% 0.118 306.2)
-
Step 600
600
#865DAE
oklch(55.6% 0.128 306)
-
Step 700
700
#724C96
oklch(49.1% 0.12 306.2)
-
Step 800
800
#5D3F79
oklch(42.8% 0.098 306.6)
-
Step 900
900
#4C3662
oklch(37.8% 0.077 306.1)
-
Step 950
950
#2C2039
oklch(27% 0.048 305.5)
#9872BE 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) | #6181C1 | 0.084 |
| Deuteranopia (no green cones) | #6A83BC | 0.077 |
| Tritanopia (no blue cones) | #927E8F | 0.088 |
| Achromatopsia (no color) | #828282 | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9872BE
#9872BE
oklch(62% 0.118 306.2)
- #74933E
#74933E
oklch(62.1% 0.118 126.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 #9872BE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.011
- Soft Purple #A66FB5 ΔE 0.027
- Dark Lilac #9C6DA5 ΔE 0.038
- Wisteria #A87DC2 ΔE 0.040
- Medium Purple #9370DB ΔE 0.046
- Amethyst #9B5FC0 ΔE 0.047
- Deep Lavender #8D5EB7 ΔE 0.054
- Faded Purple #916E99 ΔE 0.057
Use #9872BE 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.