#9A5CEB
Closest named color: Lighter Purple (#A55AF4). oklch(61.3% 0.208 300.3), rgb(154, 92, 235).
Aa
Black text reads best on this color (5.10:1).
About this color
#9A5CEB is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.208 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.023 away. Black text reads best on it, at 5.10:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.208) |
| Temperature | in between |
| Nearest name | Lighter Purple (#A55AF4) |
| Black text | 5.10:1 |
| White text | 4.11:1 |
Values
| HEX | #9A5CEB |
| RGB | rgb(154, 92, 235) |
| HSL | hsl(266, 78%, 64%) |
| OKLCH | oklch(61.3% 0.208 300.3) |
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 #9A5CEB | 4.11:1 | AA large text | Lc -73.3 | Content text, not long reading |
| Black text on #9A5CEB | 5.10:1 | AA | Lc 36.3 | Non-text elements, placeholder text |
| #9A5CEB text on white | 4.11:1 | AA large text | Lc 67.8 | Content text, not long reading |
| #9A5CEB text on black | 5.10:1 | AA | Lc -33.9 | 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
#F7F4FD
oklch(97.2% 0.012 301.3)
-
Step 100
100
#EDE6FB
oklch(93.7% 0.029 301)
-
Step 200
200
#DFD1FA
oklch(88.5% 0.058 300.8)
-
Step 300
300
#CBB2F9
oklch(81% 0.102 300.3)
-
Step 400
400
#B186F5
oklch(70.7% 0.162 300.2)
-
Step 500
500 (this color)
#9A5CEB
oklch(61.3% 0.208 300.3)
-
Step 600
600
#8B42E0
oklch(55.5% 0.226 300.1)
-
Step 700
700
#7732C2
oklch(49.1% 0.21 300.5)
-
Step 800
800
#602B9D
oklch(42.6% 0.174 300.3)
-
Step 900
900
#4E297D
oklch(37.6% 0.136 300.1)
-
Step 950
950
#2E1949
oklch(26.9% 0.086 300.9)
#9A5CEB 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) | #007DF0 | 0.157 |
| Deuteranopia (no green cones) | #287CE8 | 0.147 |
| Tritanopia (no blue cones) | #897B9B | 0.158 |
| Achromatopsia (no color) | #7D7D7D | 0.209 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9A5CEB
#9A5CEB
oklch(61.3% 0.208 300.3)
- #799000
#799000
oklch(61.3% 0.146 120.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 #9A5CEB, closest first.
No curated palette has a color within ΔE 0.04 of #9A5CEB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lighter Purple #A55AF4 ΔE 0.023
- Purpley #8756E4 ΔE 0.038
- Medium Purple #9370DB ΔE 0.053
- Medium Slate Blue #7B68EE ΔE 0.054
- Light Urple #B36FF6 ΔE 0.063
- Amethyst #9B5FC0 ΔE 0.067
- Medium Orchid #BA55D3 ΔE 0.069
- Deep Lavender #8D5EB7 ΔE 0.083
Use #9A5CEB 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.