#817FCA
Closest named color: Deep Lilac (#966EBD). oklch(63% 0.112 283.9), rgb(129, 127, 202).
Aa
Black text reads best on this color (5.82:1).
About this color
#817FCA is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.112 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.051 away. Black text reads best on it, at 5.82:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.112) |
| Temperature | cool |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.82:1 |
| White text | 3.60:1 |
Values
| HEX | #817FCA |
| RGB | rgb(129, 127, 202) |
| HSL | hsl(242, 41%, 65%) |
| OKLCH | oklch(63% 0.112 283.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 #817FCA | 3.60:1 | AA large text | Lc -69.1 | Content text, not long reading |
| Black text on #817FCA | 5.82:1 | AA | Lc 40.5 | Non-text elements, placeholder text |
| #817FCA text on white | 3.60:1 | AA large text | Lc 63.6 | Content text, not long reading |
| #817FCA text on black | 5.82:1 | AA | Lc -38.1 | 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
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#E8E9F4
oklch(93.6% 0.015 281.9)
-
Step 200
200
#D6D7ED
oklch(88.5% 0.03 283.7)
-
Step 300
300
#BCBDE3
oklch(81% 0.053 284)
-
Step 400
400
#9999D6
oklch(70.6% 0.089 283.9)
-
Step 500
500 (this color)
#817FCA
oklch(63% 0.112 283.9)
-
Step 600
600
#6C68B7
oklch(55.7% 0.12 284.1)
-
Step 700
700
#5A569E
oklch(49.1% 0.113 284)
-
Step 800
800
#494780
oklch(42.8% 0.093 283.3)
-
Step 900
900
#3D3C67
oklch(37.8% 0.073 283.4)
-
Step 950
950
#24233C
oklch(27% 0.046 284.7)
#817FCA 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) | #6789CD | 0.040 |
| Deuteranopia (no green cones) | #6484C8 | 0.039 |
| Tritanopia (no blue cones) | #6D8D9B | 0.096 |
| Achromatopsia (no color) | #878787 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #817FCA
#817FCA
oklch(63% 0.112 283.9)
- #948C31
#948C31
oklch(62.9% 0.111 104.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 #817FCA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.051
- Medium Purple #9370DB ΔE 0.055
- Perrywinkle #8F8CE7 ΔE 0.055
- Faded Blue #658CBB ΔE 0.058
- Soft Blue #6488EA ΔE 0.058
- Wisteria #A87DC2 ΔE 0.061
- Soft Purple #A66FB5 ΔE 0.070
- Lavender Blue #8B88F8 ΔE 0.071
Use #817FCA 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.