#9C52CF#9C52CF
#9C52CF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.3% C 0.191 H 308.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9C52CF |
|---|---|
| RGB | rgb(156, 82, 207) |
| HSL | hsl(276, 57%, 57%) |
| HSV | hsv(276, 60%, 81%) |
| CMYK | cmyk(24.6%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(49.02, 52.40, -52.73) |
| CIE-LCH | lch(49.02, 74.33, 314.82°) |
| OKLab | oklab(58.3% 0.1201 -0.1486) |
| OKLCH | oklch(58.3% 0.191 308.9) |
| XYZ | xyz(27.9879, 17.6080, 60.9437) |
| Luminance | 0.1761 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.62
Amethyst
#9B5FC0
ΔE00 4.19
Deep Lavender
#8D5EB7
ΔE00 5.30
Purpley
#8756E4
ΔE00 5.60
Mediumorchid
#BA55D3
ΔE00 6.15
Lighter Purple
#A55AF4
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C52CF #85CF52
analogous
#5E52CF #9C52CF #CF52C4
triadic
#9C52CF #CF9C52 #52CF9C
tetradic
#9C52CF #CF5E52 #85CF52 #52C4CF
square
#9C52CF #CF5E52 #85CF52 #52C4CF
split-complementary
#9C52CF #C4CF52 #52CF5E
monochromatic
#5C2482 #7E31B2 #9C52CF #B782DC #D3B2EA
Accessibility & contrast
On white
4.64
#9C52CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#9C52CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9C52CF
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C52CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C52CF | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C71D3
Deuteranopia (green-blind)
#4175CC
Tritanopia (blue-blind)
#956A89
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9c52cf; /* rgb */ color: rgb(156, 82, 207); /* oklch */ color: oklch(58.3% 0.191 308.9);
Tailwind
colors: {
custom: {
50: '#bd86de',
500: '#9c52cf',
950: '#000000',
},
}SCSS
$custom: #9c52cf; $custom-light: #bd86de; $custom-dark: #000000;
JSON
{
"hex": "#9c52cf",
"rgb": {
"r": 156,
"g": 82,
"b": 207
},
"hsl": {
"h": 275.52,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.58297,
"c": 0.19109,
"h": 308.9
},
"luminance": 0.17608
}Semantic roles & 50–950 ramp
primary
#9C52CF
secondary
#BAD8A5
accent
#E04886
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83