#9D57BB#9D57BB
#9D57BB is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.9% C 0.162 H 314.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9D57BB |
|---|---|
| RGB | rgb(157, 87, 187) |
| HSL | hsl(282, 42%, 54%) |
| HSV | hsv(282, 53%, 73%) |
| CMYK | cmyk(16%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(48.97, 45.68, -41.25) |
| CIE-LCH | lch(48.97, 61.55, 317.92°) |
| OKLab | oklab(57.93% 0.1142 -0.1151) |
| OKLCH | oklch(57.93% 0.162 314.8) |
| XYZ | xyz(26.2810, 17.5731, 49.0116) |
| Luminance | 0.1757 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.33
Deep Lavender
#8D5EB7
ΔE00 3.72
Purply
#983FB2
ΔE00 5.96
Mediumorchid
#BA55D3
ΔE00 6.07
Medium Purple
#9E43A2
ΔE00 6.48
Deep Lilac
#966EBD
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D57BB #75BB57
analogous
#6B57BB #9D57BB #BB57A7
triadic
#9D57BB #BB9D57 #57BB9D
tetradic
#9D57BB #BB6B57 #75BB57 #57A7BB
square
#9D57BB #BB6B57 #75BB57 #57A7BB
split-complementary
#9D57BB #A7BB57 #57BB6B
monochromatic
#592C6C #7C3D97 #9D57BB #B683CD #D0AEDE
Accessibility & contrast
On white
4.65
#9D57BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#9D57BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9D57BB
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D57BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D57BB | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#9B6781
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9d57bb; /* rgb */ color: rgb(157, 87, 187); /* oklch */ color: oklch(57.9% 0.162 314.8);
Tailwind
colors: {
custom: {
50: '#bc89d0',
500: '#9d57bb',
950: '#000000',
},
}SCSS
$custom: #9d57bb; $custom-light: #bc89d0; $custom-dark: #000000;
JSON
{
"hex": "#9d57bb",
"rgb": {
"r": 157,
"g": 87,
"b": 187
},
"hsl": {
"h": 282,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.57928,
"c": 0.16211,
"h": 314.8
},
"luminance": 0.17572
}Semantic roles & 50–950 ramp
primary
#9D57BB
secondary
#AECCA2
accent
#D2567B
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82