#817BCA
Closest named color: Deep Lilac (#966EBD). oklch(62.2% 0.117 285.9), rgb(129, 123, 202).
Aa
Black text reads best on this color (5.61:1).
About this color
#817BCA is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.117 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.045 away. Black text reads best on it, at 5.61:1.
| Hue family | Purples |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.117) |
| Temperature | cool |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.61:1 |
| White text | 3.73:1 |
Values
| HEX | #817BCA |
| RGB | rgb(129, 123, 202) |
| HSL | hsl(245, 43%, 64%) |
| OKLCH | oklch(62.2% 0.117 285.9) |
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 #817BCA | 3.73:1 | AA large text | Lc -70.3 | Content text, not long reading |
| Black text on #817BCA | 5.61:1 | AA | Lc 39.2 | Non-text elements, placeholder text |
| #817BCA text on white | 3.73:1 | AA large text | Lc 64.8 | Content text, not long reading |
| #817BCA text on black | 5.61:1 | AA | Lc -36.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
#F5F5FB
oklch(97.2% 0.008 286.3)
-
Step 100
100
#E8E8F5
oklch(93.5% 0.017 286.1)
-
Step 200
200
#D7D7EE
oklch(88.6% 0.031 285.7)
-
Step 300
300
#BDBCE5
oklch(81% 0.057 286.2)
-
Step 400
400
#9B98D8
oklch(70.6% 0.093 285.9)
-
Step 500
500 (this color)
#817BCA
oklch(62.2% 0.117 285.9)
-
Step 600
600
#6E66BA
oklch(55.6% 0.127 285.8)
-
Step 700
700
#5C54A0
oklch(49% 0.119 286)
-
Step 800
800
#4B4582
oklch(42.7% 0.099 285.9)
-
Step 900
900
#3E3B68
oklch(37.7% 0.076 285.2)
-
Step 950
950
#24233D
oklch(27.1% 0.048 284.5)
#817BCA 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) | #6286CD | 0.046 |
| Deuteranopia (no green cones) | #6082C8 | 0.046 |
| Tritanopia (no blue cones) | #6E8A99 | 0.100 |
| Achromatopsia (no color) | #848484 | 0.118 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #817BCA
#817BCA
oklch(62.2% 0.117 285.9)
- #908A27
#908A27
oklch(62% 0.117 105.9)
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 #817BCA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.045
- Medium Purple #9370DB ΔE 0.048
- Soft Blue #6488EA ΔE 0.061
- Perrywinkle #8F8CE7 ΔE 0.061
- Wisteria #A87DC2 ΔE 0.063
- Faded Blue #658CBB ΔE 0.065
- Soft Purple #A66FB5 ΔE 0.067
- Dark Lilac #9C6DA5 ΔE 0.070
Use #817BCA 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.