#9851E8
Closest named color: Purpley (#8756E4). oklch(59.4% 0.219 301.6), rgb(152, 81, 232).
Aa
Black text reads best on this color (4.67:1).
About this color
#9851E8 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.219 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.031 away. Black text reads best on it, at 4.67:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.219) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 4.67:1 |
| White text | 4.48:1 |
Values
| HEX | #9851E8 |
| RGB | rgb(152, 81, 232) |
| HSL | hsl(268, 77%, 61%) |
| OKLCH | oklch(59.4% 0.219 301.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 #9851E8 | 4.48:1 | AA large text | Lc -76.0 | Fine for body text |
| Black text on #9851E8 | 4.67:1 | AA | Lc 33.5 | Non-text elements, placeholder text |
| #9851E8 text on white | 4.48:1 | AA large text | Lc 70.5 | Content text, not long reading |
| #9851E8 text on black | 4.67:1 | AA | Lc -31.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
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EDE5FC
oklch(93.5% 0.032 301.6)
-
Step 200
200
#E0D1FB
oklch(88.6% 0.059 301.5)
-
Step 300
300
#CDB0FB
oklch(80.9% 0.108 301.8)
-
Step 400
400
#B483F8
oklch(70.6% 0.171 301.5)
-
Step 500
500 (this color)
#9851E8
oklch(59.4% 0.219 301.6)
-
Step 600
600
#8F3BE4
oklch(55.6% 0.238 301.5)
-
Step 700
700
#7A2BC6
oklch(49.1% 0.221 301.5)
-
Step 800
800
#6327A0
oklch(42.7% 0.183 301.5)
-
Step 900
900
#51277F
oklch(37.8% 0.142 301.8)
-
Step 950
950
#2F184A
oklch(27% 0.09 301.9)
#9851E8 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) | #0076ED | 0.163 |
| Deuteranopia (no green cones) | #0776E5 | 0.163 |
| Tritanopia (no blue cones) | #877396 | 0.162 |
| Achromatopsia (no color) | #777777 | 0.220 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9851E8
#9851E8
oklch(59.4% 0.219 301.6)
- #718B00
#718B00
oklch(59.5% 0.144 121.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 #9851E8, closest first.
No curated palette has a color within ΔE 0.04 of #9851E8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.031
- Lighter Purple #A55AF4 ΔE 0.034
- Medium Slate Blue #7B68EE ΔE 0.064
- Dark Orchid #9932CC ΔE 0.066
- Blue Violet #8A2BE2 ΔE 0.068
- Medium Purple #9370DB ΔE 0.071
- Electric Purple #AA23FF ΔE 0.071
- Amethyst #9B5FC0 ΔE 0.071
Use #9851E8 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.