#9F50BB#9F50BB
#9F50BB is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.2% C 0.174 H 316.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9F50BB |
|---|---|
| RGB | rgb(159, 80, 187) |
| HSL | hsl(284, 44%, 52%) |
| HSV | hsv(284, 57%, 73%) |
| CMYK | cmyk(15%, 57.2%, 0%, 26.7%) |
| CIE-LAB | lab(47.88, 49.81, -42.98) |
| CIE-LCH | lch(47.88, 65.79, 319.21°) |
| OKLab | oklab(57.18% 0.126 -0.12) |
| OKLCH | oklch(57.18% 0.174 316.4) |
| XYZ | xyz(26.1350, 16.6970, 48.8502) |
| Luminance | 0.1670 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.94
Purply
#983FB2
ΔE00 4.46
Deep Lavender
#8D5EB7
ΔE00 4.92
Medium Purple
#9E43A2
ΔE00 5.37
Ugly Purple
#A442A0
ΔE00 6.05
Mediumorchid
#BA55D3
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F50BB #6CBB50
analogous
#6A50BB #9F50BB #BB50A2
triadic
#9F50BB #BB9F50 #50BB9F
tetradic
#9F50BB #BB6A50 #6CBB50 #50A2BB
square
#9F50BB #BB6A50 #6CBB50 #50A2BB
split-complementary
#9F50BB #A2BB50 #50BB6A
monochromatic
#572868 #7C3A94 #9F50BB #B77CCC #CFA8DD
Accessibility & contrast
On white
4.84
#9F50BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#9F50BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F50BB
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F50BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F50BB | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356DBE
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#9E617E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9f50bb; /* rgb */ color: rgb(159, 80, 187); /* oklch */ color: oklch(57.2% 0.174 316.4);
Tailwind
colors: {
custom: {
50: '#be85d0',
500: '#9f50bb',
950: '#000000',
},
}SCSS
$custom: #9f50bb; $custom-light: #be85d0; $custom-dark: #000000;
JSON
{
"hex": "#9f50bb",
"rgb": {
"r": 159,
"g": 80,
"b": 187
},
"hsl": {
"h": 284.299,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.57177,
"c": 0.17402,
"h": 316.4
},
"luminance": 0.16696
}Semantic roles & 50–950 ramp
primary
#9F50BB
secondary
#A8CB9C
accent
#D45475
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82