#9178CD
Closest named color: Deep Lilac (#966EBD). oklch(63.1% 0.127 296.1), rgb(145, 120, 205).
Aa
Black text reads best on this color (5.77:1).
About this color
#9178CD is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.127 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.031 away. Black text reads best on it, at 5.77:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.127) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.77:1 |
| White text | 3.63:1 |
Values
| HEX | #9178CD |
| RGB | rgb(145, 120, 205) |
| HSL | hsl(258, 46%, 64%) |
| OKLCH | oklch(63.1% 0.127 296.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 #9178CD | 3.63:1 | AA large text | Lc -69.4 | Content text, not long reading |
| Black text on #9178CD | 5.77:1 | AA | Lc 40.2 | Non-text elements, placeholder text |
| #9178CD text on white | 3.63:1 | AA large text | Lc 63.9 | Content text, not long reading |
| #9178CD text on black | 5.77:1 | AA | Lc -37.8 | 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
#F6F4FB
oklch(97.1% 0.009 299.2)
-
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
#C4B9E5
oklch(80.9% 0.062 296.4)
-
Step 400
400
#A694D8
oklch(70.8% 0.099 295.9)
-
Step 500
500 (this color)
#9178CD
oklch(63.1% 0.127 296.1)
-
Step 600
600
#7C5FBA
oklch(55.6% 0.138 296.3)
-
Step 700
700
#684EA0
oklch(49% 0.128 296)
-
Step 800
800
#554082
oklch(42.6% 0.107 296.2)
-
Step 900
900
#463768
oklch(37.7% 0.083 296.3)
-
Step 950
950
#29213D
oklch(27.1% 0.052 295.9)
#9178CD 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) | #6087D0 | 0.072 |
| Deuteranopia (no green cones) | #6485CB | 0.068 |
| Tritanopia (no blue cones) | #848799 | 0.101 |
| Achromatopsia (no color) | #868686 | 0.127 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9178CD
#9178CD
oklch(63.1% 0.127 296.1)
- #86932A
#86932A
oklch(63.3% 0.127 116.3)
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 #9178CD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.031
- Medium Purple #9370DB ΔE 0.032
- Wisteria #A87DC2 ΔE 0.045
- Soft Purple #A66FB5 ΔE 0.049
- Perrywinkle #8F8CE7 ΔE 0.057
- Amethyst #9B5FC0 ΔE 0.060
- Dark Lilac #9C6DA5 ΔE 0.062
- Deep Lavender #8D5EB7 ΔE 0.068
Use #9178CD 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.