#9C52CE#9C52CE
#9C52CE is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.190 H 309.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9C52CE |
|---|---|
| RGB | rgb(156, 82, 206) |
| HSL | hsl(276, 56%, 56%) |
| HSV | hsv(276, 60%, 81%) |
| CMYK | cmyk(24.3%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(48.96, 52.17, -52.25) |
| CIE-LCH | lch(48.96, 73.84, 314.96°) |
| OKLab | oklab(58.23% 0.1201 -0.1472) |
| OKLCH | oklch(58.23% 0.19 309.2) |
| XYZ | xyz(27.8660, 17.5592, 60.3018) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.77
Amethyst
#9B5FC0
ΔE00 4.10
Deep Lavender
#8D5EB7
ΔE00 5.20
Purpley
#8756E4
ΔE00 5.72
Mediumorchid
#BA55D3
ΔE00 6.14
Lighter Purple
#A55AF4
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C52CE #84CE52
analogous
#5E52CE #9C52CE #CE52C2
triadic
#9C52CE #CE9C52 #52CE9C
tetradic
#9C52CE #CE5E52 #84CE52 #52C2CE
square
#9C52CE #CE5E52 #84CE52 #52C2CE
split-complementary
#9C52CE #C2CE52 #52CE5E
monochromatic
#5C2581 #7E32B1 #9C52CE #B782DC #D3B1E9
Accessibility & contrast
On white
4.65
#9C52CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#9C52CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9C52CE
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C52CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C52CE | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E71D2
Deuteranopia (green-blind)
#4275CB
Tritanopia (blue-blind)
#956A88
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9c52ce; /* rgb */ color: rgb(156, 82, 206); /* oklch */ color: oklch(58.2% 0.190 309.2);
Tailwind
colors: {
custom: {
50: '#bd86de',
500: '#9c52ce',
950: '#000000',
},
}SCSS
$custom: #9c52ce; $custom-light: #bd86de; $custom-dark: #000000;
JSON
{
"hex": "#9c52ce",
"rgb": {
"r": 156,
"g": 82,
"b": 206
},
"hsl": {
"h": 275.806,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.58234,
"c": 0.19001,
"h": 309.2
},
"luminance": 0.17559
}Semantic roles & 50–950 ramp
primary
#9C52CE
secondary
#B9D7A4
accent
#DF4985
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83