#9B52E2#9B52E2
#9B52E2 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.211 H 303.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9B52E2 |
|---|---|
| RGB | rgb(155, 82, 226) |
| HSL | hsl(270, 71%, 60%) |
| HSV | hsv(270, 64%, 89%) |
| CMYK | cmyk(31.4%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(50.09, 56.54, -61.82) |
| CIE-LCH | lch(50.09, 83.78, 312.44°) |
| OKLab | oklab(59.43% 0.118 -0.1753) |
| OKLCH | oklch(59.43% 0.211 303.9) |
| XYZ | xyz(30.2592, 18.4942, 73.9124) |
| Luminance | 0.1849 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.88
Purpley
#8756E4
ΔE00 3.72
Lighter Purple
#A55AF4
ΔE00 3.88
Electric Purple
#AA23FF
ΔE00 6.32
Amethyst
#9B5FC0
ΔE00 6.35
Neon Purple
#BC13FE
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B52E2 #99E252
analogous
#5352E2 #9B52E2 #E252E1
triadic
#9B52E2 #E29B52 #52E29B
tetradic
#9B52E2 #E25352 #99E252 #52E1E2
square
#9B52E2 #E25352 #99E252 #52E1E2
split-complementary
#9B52E2 #E1E252 #52E253
monochromatic
#5E1B9F #7D23D3 #9B52E2 #B986EB #D8BBF4
Accessibility & contrast
On white
4.47
#9B52E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#9B52E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B52E2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B52E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B52E2 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#2677DF
Tritanopia (blue-blind)
#8E7193
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9b52e2; /* rgb */ color: rgb(155, 82, 226); /* oklch */ color: oklch(59.4% 0.211 303.9);
Tailwind
colors: {
custom: {
50: '#bd87ec',
500: '#9b52e2',
950: '#000000',
},
}SCSS
$custom: #9b52e2; $custom-light: #bd87ec; $custom-dark: #000000;
JSON
{
"hex": "#9b52e2",
"rgb": {
"r": 155,
"g": 82,
"b": 226
},
"hsl": {
"h": 270.417,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.5943,
"c": 0.21135,
"h": 303.9
},
"luminance": 0.18494
}Semantic roles & 50–950 ramp
primary
#9B52E2
secondary
#C8E3AC
accent
#D31271
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84