#956CEB
Closest named color: Medium Purple (#9370DB). oklch(63.2% 0.184 295.5), rgb(149, 108, 235).
Aa
Black text reads best on this color (5.62:1).
About this color
#956CEB is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.184 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.027 away. Black text reads best on it, at 5.62:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.184) |
| Temperature | in between |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 5.62:1 |
| White text | 3.73:1 |
Values
| HEX | #956CEB |
| RGB | rgb(149, 108, 235) |
| HSL | hsl(259, 76%, 67%) |
| OKLCH | oklch(63.2% 0.184 295.5) |
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 #956CEB | 3.73:1 | AA large text | Lc -70.1 | Content text, not long reading |
| Black text on #956CEB | 5.62:1 | AA | Lc 39.5 | Non-text elements, placeholder text |
| #956CEB text on white | 3.73:1 | AA large text | Lc 64.6 | Content text, not long reading |
| #956CEB text on black | 5.62:1 | AA | Lc -37.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
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#EBE7FA
oklch(93.7% 0.026 295.5)
-
Step 200
200
#DBD3F7
oklch(88.5% 0.05 295.5)
-
Step 300
300
#C5B5F5
oklch(80.9% 0.091 295.8)
-
Step 400
400
#A88CF0
oklch(70.6% 0.145 295.3)
-
Step 500
500 (this color)
#956CEB
oklch(63.2% 0.184 295.5)
-
Step 600
600
#804FD9
oklch(55.5% 0.201 295.4)
-
Step 700
700
#6D3FBC
oklch(49.1% 0.186 295.6)
-
Step 800
800
#583598
oklch(42.6% 0.154 295.4)
-
Step 900
900
#483079
oklch(37.7% 0.119 295.2)
-
Step 950
950
#2A1D47
oklch(27.1% 0.076 295.1)
#956CEB 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) | #3385EF | 0.121 |
| Deuteranopia (no green cones) | #3F82E8 | 0.114 |
| Tritanopia (no blue cones) | #8086A1 | 0.147 |
| Achromatopsia (no color) | #848484 | 0.185 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #956CEB
#956CEB
oklch(63.2% 0.184 295.5)
- #879300
#879300
oklch(63.2% 0.144 115.4)
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 #956CEB, closest first.
No curated palette has a color within ΔE 0.04 of #956CEB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.027
- Medium Slate Blue #7B68EE ΔE 0.044
- Lighter Purple #A55AF4 ΔE 0.046
- Light Urple #B36FF6 ΔE 0.053
- Periwinkle #8E82FE ΔE 0.055
- Purpley #8756E4 ΔE 0.056
- Lavender Blue #8B88F8 ΔE 0.066
- Cornflower #6A79F7 ΔE 0.068
Use #956CEB 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.