#9178CC
Closest named color: Deep Lilac (#966EBD). oklch(63.1% 0.125 296.3), rgb(145, 120, 204).
Aa
Black text reads best on this color (5.76:1).
About this color
#9178CC is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.125 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.030 away. Black text reads best on it, at 5.76:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.125) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.76:1 |
| White text | 3.64:1 |
Values
| HEX | #9178CC |
| RGB | rgb(145, 120, 204) |
| HSL | hsl(258, 45%, 64%) |
| OKLCH | oklch(63.1% 0.125 296.3) |
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 #9178CC | 3.64:1 | AA large text | Lc -69.4 | Content text, not long reading |
| Black text on #9178CC | 5.76:1 | AA | Lc 40.2 | Non-text elements, placeholder text |
| #9178CC text on white | 3.64:1 | AA large text | Lc 63.9 | Content text, not long reading |
| #9178CC text on black | 5.76:1 | AA | Lc -37.7 | 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
#F6F4FA
oklch(97% 0.008 301.4)
-
Step 100
100
#EBE8F5
oklch(93.7% 0.018 296.6)
-
Step 200
200
#DBD5EE
oklch(88.5% 0.035 296.7)
-
Step 300
300
#C4B9E4
oklch(80.9% 0.061 296.7)
-
Step 400
400
#A694D7
oklch(70.7% 0.098 296.1)
-
Step 500
500 (this color)
#9178CC
oklch(63.1% 0.125 296.3)
-
Step 600
600
#7C5FB9
oklch(55.6% 0.137 296.5)
-
Step 700
700
#684E9F
oklch(49% 0.127 296.2)
-
Step 800
800
#554181
oklch(42.8% 0.104 296.1)
-
Step 900
900
#463768
oklch(37.7% 0.083 296.3)
-
Step 950
950
#29213D
oklch(27.1% 0.052 295.9)
#9178CC 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) | #6086CF | 0.072 |
| Deuteranopia (no green cones) | #6485CA | 0.068 |
| Tritanopia (no blue cones) | #858798 | 0.101 |
| Achromatopsia (no color) | #868686 | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9178CC
#9178CC
oklch(63.1% 0.125 296.3)
- #85922C
#85922C
oklch(63% 0.125 116.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 #9178CC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.030
- Medium Purple #9370DB ΔE 0.033
- Wisteria #A87DC2 ΔE 0.044
- Soft Purple #A66FB5 ΔE 0.048
- Perrywinkle #8F8CE7 ΔE 0.058
- Amethyst #9B5FC0 ΔE 0.060
- Dark Lilac #9C6DA5 ΔE 0.061
- Deep Lavender #8D5EB7 ΔE 0.067
Use #9178CC 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.