#9B52CE#9B52CE
#9B52CE is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.1% C 0.190 H 308.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9B52CE |
|---|---|
| RGB | rgb(155, 82, 206) |
| HSL | hsl(275, 56%, 56%) |
| HSV | hsv(275, 60%, 81%) |
| CMYK | cmyk(24.8%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(48.83, 51.94, -52.45) |
| CIE-LCH | lch(48.83, 73.81, 314.72°) |
| OKLab | oklab(58.12% 0.1189 -0.1478) |
| OKLCH | oklch(58.12% 0.19 308.8) |
| XYZ | xyz(27.6732, 17.4598, 60.2928) |
| Luminance | 0.1746 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.82
Amethyst
#9B5FC0
ΔE00 4.17
Deep Lavender
#8D5EB7
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.57
Darkorchid
#9932CC
ΔE00 6.33
Mediumorchid
#BA55D3
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B52CE #85CE52
analogous
#5D52CE #9B52CE #CE52C3
triadic
#9B52CE #CE9B52 #52CE9B
tetradic
#9B52CE #CE5D52 #85CE52 #52C3CE
square
#9B52CE #CE5D52 #85CE52 #52C3CE
split-complementary
#9B52CE #C3CE52 #52CE5D
monochromatic
#5B2581 #7D32B1 #9B52CE #B782DC #D2B1E9
Accessibility & contrast
On white
4.68
#9B52CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#9B52CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B52CE
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B52CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B52CE | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D71D2
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#946A88
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9b52ce; /* rgb */ color: rgb(155, 82, 206); /* oklch */ color: oklch(58.1% 0.190 308.8);
Tailwind
colors: {
custom: {
50: '#bc86de',
500: '#9b52ce',
950: '#000000',
},
}SCSS
$custom: #9b52ce; $custom-light: #bc86de; $custom-dark: #000000;
JSON
{
"hex": "#9b52ce",
"rgb": {
"r": 155,
"g": 82,
"b": 206
},
"hsl": {
"h": 275.323,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.58118,
"c": 0.1897,
"h": 308.8
},
"luminance": 0.17459
}Semantic roles & 50–950 ramp
primary
#9B52CE
secondary
#B9D7A4
accent
#DF4987
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83