#5C2CC2#5C2CC2
#5C2CC2 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.214 H 289.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2CC2 |
|---|---|
| RGB | rgb(92, 44, 194) |
| HSL | hsl(259, 63%, 47%) |
| HSV | hsv(259, 77%, 76%) |
| CMYK | cmyk(52.6%, 77.3%, 0%, 23.9%) |
| CIE-LAB | lab(33.92, 55.31, -70.03) |
| CIE-LCH | lch(33.92, 89.24, 308.30°) |
| OKLab | oklab(45.54% 0.0717 -0.2013) |
| OKLCH | oklch(45.54% 0.214 289.6) |
| XYZ | xyz(15.0491, 7.9710, 51.7741) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.16
Blurple
#5539CC
ΔE00 3.26
Blue With A Hint Of Purple
#533CC6
ΔE00 3.73
Violet Blue
#510AC9
ΔE00 4.33
Bluey Purple
#6241C7
ΔE00 4.70
Burple
#6832E3
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2CC2 #92C22C
analogous
#2C47C2 #5C2CC2 #A72CC2
triadic
#5C2CC2 #C25C2C #2CC25C
tetradic
#5C2CC2 #C22C47 #92C22C #2CC2A7
square
#5C2CC2 #C22C47 #92C22C #2CC2A7
split-complementary
#5C2CC2 #C2A72C #47C22C
monochromatic
#2D155E #442190 #5C2CC2 #7E53D8 #A385E3
Accessibility & contrast
On white
8.09
#5C2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#5C2CC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2CC2
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2CC2 | 1.00 | 8.09 | 2.59 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#355776
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5c2cc2; /* rgb */ color: rgb(92, 44, 194); /* oklch */ color: oklch(45.5% 0.214 289.6);
Tailwind
colors: {
custom: {
50: '#956bd6',
500: '#5c2cc2',
950: '#000000',
},
}SCSS
$custom: #5c2cc2; $custom-light: #956bd6; $custom-dark: #000000;
JSON
{
"hex": "#5c2cc2",
"rgb": {
"r": 92,
"g": 44,
"b": 194
},
"hsl": {
"h": 259.2,
"s": 63.025,
"l": 46.667
},
"oklch": {
"l": 0.45538,
"c": 0.21373,
"h": 289.6
},
"luminance": 0.07972
}Semantic roles & 50–950 ramp
primary
#5C2CC2
secondary
#B3CD7D
accent
#E642B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83