#9F52BB#9F52BB
#9F52BB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.5% C 0.171 H 316.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9F52BB |
|---|---|
| RGB | rgb(159, 82, 187) |
| HSL | hsl(284, 44%, 53%) |
| HSV | hsv(284, 56%, 73%) |
| CMYK | cmyk(15%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(48.25, 48.80, -42.38) |
| CIE-LCH | lch(48.25, 64.63, 319.03°) |
| OKLab | oklab(57.45% 0.1234 -0.1183) |
| OKLCH | oklch(57.45% 0.171 316.2) |
| XYZ | xyz(26.2837, 16.9943, 48.8998) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.50
Deep Lavender
#8D5EB7
ΔE00 4.64
Purply
#983FB2
ΔE00 4.91
Medium Purple
#9E43A2
ΔE00 5.63
Mediumorchid
#BA55D3
ΔE00 6.12
Ugly Purple
#A442A0
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F52BB #6EBB52
analogous
#6A52BB #9F52BB #BB52A2
triadic
#9F52BB #BB9F52 #52BB9F
tetradic
#9F52BB #BB6A52 #6EBB52 #52A2BB
square
#9F52BB #BB6A52 #6EBB52 #52A2BB
split-complementary
#9F52BB #A2BB52 #52BB6A
monochromatic
#582969 #7D3B95 #9F52BB #B77ECC #D0AADE
Accessibility & contrast
On white
4.77
#9F52BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#9F52BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F52BB
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F52BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F52BB | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#9E637F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9f52bb; /* rgb */ color: rgb(159, 82, 187); /* oklch */ color: oklch(57.5% 0.171 316.2);
Tailwind
colors: {
custom: {
50: '#be86d0',
500: '#9f52bb',
950: '#000000',
},
}SCSS
$custom: #9f52bb; $custom-light: #be86d0; $custom-dark: #000000;
JSON
{
"hex": "#9f52bb",
"rgb": {
"r": 159,
"g": 82,
"b": 187
},
"hsl": {
"h": 284,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.57452,
"c": 0.17092,
"h": 316.2
},
"luminance": 0.16993
}Semantic roles & 50–950 ramp
primary
#9F52BB
secondary
#AACB9E
accent
#D35476
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120B14
muted
#817C82