#9F5FEB
Closest named color: Lighter Purple (#A55AF4). oklch(62.2% 0.204 301.8), rgb(159, 95, 235).
Aa
Black text reads best on this color (5.31:1).
About this color
#9F5FEB is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.204 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.019 away. Black text reads best on it, at 5.31:1.
| Hue family | Purples |
| Lightness | medium-light (62%) |
| Chroma | vivid (0.204) |
| Temperature | in between |
| Nearest name | Lighter Purple (#A55AF4) |
| Black text | 5.31:1 |
| White text | 3.95:1 |
Values
| HEX | #9F5FEB |
| RGB | rgb(159, 95, 235) |
| HSL | hsl(267, 78%, 65%) |
| OKLCH | oklch(62.2% 0.204 301.8) |
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 #9F5FEB | 3.95:1 | AA large text | Lc -72.0 | Content text, not long reading |
| Black text on #9F5FEB | 5.31:1 | AA | Lc 37.6 | Non-text elements, placeholder text |
| #9F5FEB text on white | 3.95:1 | AA large text | Lc 66.4 | Content text, not long reading |
| #9F5FEB text on black | 5.31:1 | AA | Lc -35.2 | 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
#F7F3FD
oklch(97% 0.014 304.1)
-
Step 100
100
#EDE6FB
oklch(93.7% 0.029 301)
-
Step 200
200
#DFD1F9
oklch(88.5% 0.056 301.2)
-
Step 300
300
#CCB2F7
oklch(81% 0.099 301.5)
-
Step 400
400
#B386F3
oklch(70.8% 0.159 301.5)
-
Step 500
500 (this color)
#9F5FEB
oklch(62.2% 0.204 301.8)
-
Step 600
600
#8D42DC
oklch(55.5% 0.222 301.8)
-
Step 700
700
#7832BF
oklch(49% 0.207 301.7)
-
Step 800
800
#622C9B
oklch(42.8% 0.171 301.7)
-
Step 900
900
#50297B
oklch(37.7% 0.134 302.2)
-
Step 950
950
#2E1948
oklch(26.9% 0.085 301.5)
#9F5FEB 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) | #0A7FEF | 0.160 |
| Deuteranopia (no green cones) | #367FE8 | 0.145 |
| Tritanopia (no blue cones) | #907C9C | 0.153 |
| Achromatopsia (no color) | #808080 | 0.206 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9F5FEB
#9F5FEB
oklch(62.2% 0.204 301.8)
- #789400
#789400
oklch(62.2% 0.151 122.1)
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 #9F5FEB, closest first.
No curated palette has a color within ΔE 0.04 of #9F5FEB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lighter Purple #A55AF4 ΔE 0.019
- Purpley #8756E4 ΔE 0.048
- Medium Purple #9370DB ΔE 0.049
- Light Urple #B36FF6 ΔE 0.052
- Medium Slate Blue #7B68EE ΔE 0.060
- Medium Orchid #BA55D3 ΔE 0.062
- Amethyst #9B5FC0 ΔE 0.066
- Easter Purple #C071FE ΔE 0.075
Use #9F5FEB 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.