#9872C3
Closest named color: Deep Lilac (#966EBD). oklch(62.2% 0.125 304.6), rgb(152, 114, 195).
Aa
Black text reads best on this color (5.53:1).
About this color
#9872C3 is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.125 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.013 away. Black text reads best on it, at 5.53:1.
| Hue family | Purples |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.125) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.53:1 |
| White text | 3.79:1 |
Values
| HEX | #9872C3 |
| RGB | rgb(152, 114, 195) |
| HSL | hsl(268, 40%, 61%) |
| OKLCH | oklch(62.2% 0.125 304.6) |
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 #9872C3 | 3.79:1 | AA large text | Lc -70.9 | Content text, not long reading |
| Black text on #9872C3 | 5.53:1 | AA | Lc 38.7 | Non-text elements, placeholder text |
| #9872C3 text on white | 3.79:1 | AA large text | Lc 65.4 | Content text, not long reading |
| #9872C3 text on black | 5.53:1 | AA | Lc -36.3 | 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
#ECE7F4
oklch(93.6% 0.018 303.4)
-
Step 200
200
#DED4EC
oklch(88.5% 0.034 304.5)
-
Step 300
300
#C9B7E1
oklch(80.8% 0.061 304.5)
-
Step 400
400
#AE91D2
oklch(70.7% 0.098 304.4)
-
Step 500
500 (this color)
#9872C3
oklch(62.2% 0.125 304.6)
-
Step 600
600
#865CB2
oklch(55.6% 0.135 305)
-
Step 700
700
#714B99
oklch(49% 0.126 304.7)
-
Step 800
800
#5C3E7C
oklch(42.6% 0.104 304.7)
-
Step 900
900
#4B3564
oklch(37.6% 0.082 304.3)
-
Step 950
950
#2C203B
oklch(27.1% 0.051 303.6)
#9872C3 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) | #5E82C6 | 0.087 |
| Deuteranopia (no green cones) | #6783C1 | 0.080 |
| Tritanopia (no blue cones) | #917F91 | 0.094 |
| Achromatopsia (no color) | #838383 | 0.125 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9872C3
#9872C3
oklch(62.2% 0.125 304.6)
- #769336
#769336
oklch(62.1% 0.125 124.6)
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 #9872C3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.013
- Soft Purple #A66FB5 ΔE 0.031
- Medium Purple #9370DB ΔE 0.039
- Wisteria #A87DC2 ΔE 0.041
- Amethyst #9B5FC0 ΔE 0.045
- Dark Lilac #9C6DA5 ΔE 0.045
- Deep Lavender #8D5EB7 ΔE 0.055
- Faded Purple #916E99 ΔE 0.065
Use #9872C3 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.