#9E56BB#9E56BB
#9E56BB is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.9% C 0.164 H 315.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9E56BB |
|---|---|
| RGB | rgb(158, 86, 187) |
| HSL | hsl(283, 43%, 54%) |
| HSV | hsv(283, 54%, 73%) |
| CMYK | cmyk(15.5%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(48.90, 46.47, -41.36) |
| CIE-LCH | lch(48.90, 62.21, 318.33°) |
| OKLab | oklab(57.9% 0.1168 -0.1154) |
| OKLCH | oklch(57.9% 0.164 315.3) |
| XYZ | xyz(26.3966, 17.5133, 48.9940) |
| Luminance | 0.1751 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.59
Deep Lavender
#8D5EB7
ΔE00 3.99
Purply
#983FB2
ΔE00 5.78
Mediumorchid
#BA55D3
ΔE00 5.97
Medium Purple
#9E43A2
ΔE00 6.28
Lightish Purple
#A552E6
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E56BB #73BB56
analogous
#6B56BB #9E56BB #BB56A5
triadic
#9E56BB #BB9E56 #56BB9E
tetradic
#9E56BB #BB6B56 #73BB56 #56A5BB
square
#9E56BB #BB6B56 #73BB56 #56A5BB
split-complementary
#9E56BB #A5BB56 #56BB6B
monochromatic
#592B6B #7D3D97 #9E56BB #B782CD #D0ADDE
Accessibility & contrast
On white
4.66
#9E56BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#9E56BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9E56BB
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E56BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E56BB | 1.00 | 4.66 | 4.50 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#9C6680
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9e56bb; /* rgb */ color: rgb(158, 86, 187); /* oklch */ color: oklch(57.9% 0.164 315.3);
Tailwind
colors: {
custom: {
50: '#bd88d0',
500: '#9e56bb',
950: '#000000',
},
}SCSS
$custom: #9e56bb; $custom-light: #bd88d0; $custom-dark: #000000;
JSON
{
"hex": "#9e56bb",
"rgb": {
"r": 158,
"g": 86,
"b": 187
},
"hsl": {
"h": 282.772,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.57901,
"c": 0.16415,
"h": 315.3
},
"luminance": 0.17513
}Semantic roles & 50–950 ramp
primary
#9E56BB
secondary
#ADCCA1
accent
#D25579
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82