#C452E7#C452E7
#C452E7 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.6% C 0.229 H 317.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #C452E7 |
|---|---|
| RGB | rgb(196, 82, 231) |
| HSL | hsl(286, 76%, 61%) |
| HSV | hsv(286, 65%, 91%) |
| CMYK | cmyk(15.2%, 64.5%, 0%, 9.4%) |
| CIE-LAB | lab(55.63, 66.60, -55.47) |
| CIE-LCH | lch(55.63, 86.67, 320.21°) |
| OKLab | oklab(64.63% 0.1687 -0.1555) |
| OKLCH | oklch(64.63% 0.229 317.3) |
| XYZ | xyz(40.2040, 23.5415, 78.0120) |
| Luminance | 0.2354 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.10
Heliotrope
#D94FF5
ΔE00 3.65
Bright Lilac
#C95EFB
ΔE00 3.88
Pinkish Purple
#D648D7
ΔE00 4.49
Bright Lavender
#C760FF
ΔE00 4.52
Purple Pink
#D725DE
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C452E7 #75E752
analogous
#7A52E7 #C452E7 #E752C0
triadic
#C452E7 #E7C452 #52E7C4
tetradic
#C452E7 #E77A52 #75E752 #52C0E7
square
#C452E7 #E77A52 #75E752 #52C0E7
split-complementary
#C452E7 #C0E752 #52E77A
monochromatic
#8617A7 #B01FDD #C452E7 #D688EE #E9BDF6
Accessibility & contrast
On white
3.68
#C452E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#C452E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C452E7
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C452E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C452E7 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#187EEB
Deuteranopia (green-blind)
#5689E3
Tritanopia (blue-blind)
#C36D96
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #c452e7; /* rgb */ color: rgb(196, 82, 231); /* oklch */ color: oklch(64.6% 0.229 317.3);
Tailwind
colors: {
custom: {
50: '#d98aef',
500: '#c452e7',
950: '#000000',
},
}SCSS
$custom: #c452e7; $custom-light: #d98aef; $custom-dark: #000000;
JSON
{
"hex": "#c452e7",
"rgb": {
"r": 196,
"g": 82,
"b": 231
},
"hsl": {
"h": 285.906,
"s": 75.635,
"l": 61.373
},
"oklch": {
"l": 0.64632,
"c": 0.2294,
"h": 317.3
},
"luminance": 0.2354
}Semantic roles & 50–950 ramp
primary
#C452E7
secondary
#BCE6AF
accent
#D80E3D
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84