#9B52CA#9B52CA
#9B52CA is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.9% C 0.185 H 309.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9B52CA |
|---|---|
| RGB | rgb(155, 82, 202) |
| HSL | hsl(277, 53%, 56%) |
| HSV | hsv(277, 59%, 79%) |
| CMYK | cmyk(23.3%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(48.60, 51.04, -50.54) |
| CIE-LCH | lch(48.60, 71.82, 315.28°) |
| OKLab | oklab(57.87% 0.1189 -0.1422) |
| OKLCH | oklch(57.87% 0.185 309.9) |
| XYZ | xyz(27.1935, 17.2679, 57.7662) |
| Luminance | 0.1727 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.84
Lightish Purple
#A552E6
ΔE00 4.40
Deep Lavender
#8D5EB7
ΔE00 4.79
Purply
#983FB2
ΔE00 5.94
Purpley
#8756E4
ΔE00 6.11
Darkorchid
#9932CC
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B52CA #81CA52
analogous
#5F52CA #9B52CA #CA52BD
triadic
#9B52CA #CA9B52 #52CA9B
tetradic
#9B52CA #CA5F52 #81CA52 #52BDCA
square
#9B52CA #CA5F52 #81CA52 #52BDCA
split-complementary
#9B52CA #BDCA52 #52CA5F
monochromatic
#5A267C #7C34AB #9B52CA #B681D8 #D1B0E7
Accessibility & contrast
On white
4.72
#9B52CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#9B52CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B52CA
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B52CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B52CA | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#4475C7
Tritanopia (blue-blind)
#956986
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9b52ca; /* rgb */ color: rgb(155, 82, 202); /* oklch */ color: oklch(57.9% 0.185 309.9);
Tailwind
colors: {
custom: {
50: '#bc86db',
500: '#9b52ca',
950: '#000000',
},
}SCSS
$custom: #9b52ca; $custom-light: #bc86db; $custom-dark: #000000;
JSON
{
"hex": "#9b52ca",
"rgb": {
"r": 155,
"g": 82,
"b": 202
},
"hsl": {
"h": 276.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.57868,
"c": 0.18536,
"h": 309.9
},
"luminance": 0.17267
}Semantic roles & 50–950 ramp
primary
#9B52CA
secondary
#B6D5A3
accent
#DD4B84
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83