#C452E8#C452E8
#C452E8 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.7% C 0.230 H 317.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C452E8 |
|---|---|
| RGB | rgb(196, 82, 232) |
| HSL | hsl(286, 77%, 62%) |
| HSV | hsv(286, 65%, 91%) |
| CMYK | cmyk(15.5%, 64.7%, 0%, 9%) |
| CIE-LAB | lab(55.68, 66.79, -55.94) |
| CIE-LCH | lch(55.68, 87.12, 320.05°) |
| OKLab | oklab(64.69% 0.1687 -0.1568) |
| OKLCH | oklch(64.69% 0.23 317.1) |
| XYZ | xyz(40.3456, 23.5981, 78.7580) |
| Luminance | 0.2360 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.23
Heliotrope
#D94FF5
ΔE00 3.61
Bright Lilac
#C95EFB
ΔE00 3.77
Bright Lavender
#C760FF
ΔE00 4.40
Pinkish Purple
#D648D7
ΔE00 4.60
Purple Pink
#D725DE
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C452E8 #76E852
analogous
#7952E8 #C452E8 #E852C1
triadic
#C452E8 #E8C452 #52E8C4
tetradic
#C452E8 #E87952 #76E852 #52C1E8
square
#C452E8 #E87952 #76E852 #52C1E8
split-complementary
#C452E8 #C1E852 #52E879
monochromatic
#8616A9 #B11EDF #C452E8 #D688EF #E9BEF6
Accessibility & contrast
On white
3.67
#C452E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#C452E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C452E8
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C452E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C452E8 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#157EEC
Deuteranopia (green-blind)
#5589E4
Tritanopia (blue-blind)
#C26D96
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #c452e8; /* rgb */ color: rgb(196, 82, 232); /* oklch */ color: oklch(64.7% 0.230 317.1);
Tailwind
colors: {
custom: {
50: '#da8af0',
500: '#c452e8',
950: '#000000',
},
}SCSS
$custom: #c452e8; $custom-light: #da8af0; $custom-dark: #000000;
JSON
{
"hex": "#c452e8",
"rgb": {
"r": 196,
"g": 82,
"b": 232
},
"hsl": {
"h": 285.6,
"s": 76.531,
"l": 61.569
},
"oklch": {
"l": 0.64692,
"c": 0.23031,
"h": 317.1
},
"luminance": 0.23597
}Semantic roles & 50–950 ramp
primary
#C452E8
secondary
#BCE7AF
accent
#D90D3E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85