#9D59BB#9D59BB
#9D59BB is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.2% C 0.159 H 314.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9D59BB |
|---|---|
| RGB | rgb(157, 89, 187) |
| HSL | hsl(282, 42%, 54%) |
| HSV | hsv(282, 52%, 73%) |
| CMYK | cmyk(16%, 52.4%, 0%, 26.7%) |
| CIE-LAB | lab(49.38, 44.62, -40.62) |
| CIE-LCH | lch(49.38, 60.34, 317.69°) |
| OKLab | oklab(58.23% 0.1114 -0.1132) |
| OKLCH | oklch(58.23% 0.159 314.5) |
| XYZ | xyz(26.4452, 17.9014, 49.0663) |
| Luminance | 0.1790 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.90
Deep Lavender
#8D5EB7
ΔE00 3.54
Mediumorchid
#BA55D3
ΔE00 6.00
Deep Lilac
#966EBD
ΔE00 6.28
Purply
#983FB2
ΔE00 6.48
Medium Purple
#9E43A2
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D59BB #77BB59
analogous
#6C59BB #9D59BB #BB59A8
triadic
#9D59BB #BB9D59 #59BB9D
tetradic
#9D59BB #BB6C59 #77BB59 #59A8BB
square
#9D59BB #BB6C59 #77BB59 #59A8BB
split-complementary
#9D59BB #A8BB59 #59BB6C
monochromatic
#592D6D #7D3E98 #9D59BB #B784CD #D0B0DF
Accessibility & contrast
On white
4.58
#9D59BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#9D59BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D59BB
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D59BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D59BB | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#9B6982
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9d59bb; /* rgb */ color: rgb(157, 89, 187); /* oklch */ color: oklch(58.2% 0.159 314.5);
Tailwind
colors: {
custom: {
50: '#bc8ad0',
500: '#9d59bb',
950: '#000000',
},
}SCSS
$custom: #9d59bb; $custom-light: #bc8ad0; $custom-dark: #000000;
JSON
{
"hex": "#9d59bb",
"rgb": {
"r": 157,
"g": 89,
"b": 187
},
"hsl": {
"h": 281.633,
"s": 41.88,
"l": 54.118
},
"oklch": {
"l": 0.58225,
"c": 0.15887,
"h": 314.5
},
"luminance": 0.17901
}Semantic roles & 50–950 ramp
primary
#9D59BB
secondary
#B0CDA3
accent
#D2567C
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82