#C452DC#C452DC
#C452DC is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.0% C 0.219 H 320.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C452DC |
|---|---|
| RGB | rgb(196, 82, 220) |
| HSL | hsl(290, 66%, 59%) |
| HSV | hsv(290, 63%, 86%) |
| CMYK | cmyk(10.9%, 62.7%, 0%, 13.7%) |
| CIE-LAB | lab(55.01, 64.51, -50.25) |
| CIE-LCH | lch(55.01, 81.77, 322.08°) |
| OKLab | oklab(63.99% 0.1688 -0.1402) |
| OKLCH | oklch(63.99% 0.219 320.3) |
| XYZ | xyz(38.6989, 22.9395, 70.0856) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.92
Pinkish Purple
#D648D7
ΔE00 3.40
Heliotrope
#D94FF5
ΔE00 4.43
Purple Pink
#D725DE
ΔE00 4.86
Bright Lilac
#C95EFB
ΔE00 5.25
Pinky Purple
#C94CBE
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C452DC #6ADC52
analogous
#7F52DC #C452DC #DC52AF
triadic
#C452DC #DCC452 #52DCC4
tetradic
#C452DC #DC7F52 #6ADC52 #52AFDC
square
#C452DC #DC7F52 #6ADC52 #52AFDC
split-complementary
#C452DC #AFDC52 #52DC7F
monochromatic
#811E95 #AC29C8 #C452DC #D585E6 #E7B8F1
Accessibility & contrast
On white
3.76
#C452DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#C452DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C452DC
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C452DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C452DC | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D7CE0
Deuteranopia (green-blind)
#5E88D9
Tritanopia (blue-blind)
#C56990
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #c452dc; /* rgb */ color: rgb(196, 82, 220); /* oklch */ color: oklch(64.0% 0.219 320.3);
Tailwind
colors: {
custom: {
50: '#d98ae7',
500: '#c452dc',
950: '#000000',
},
}SCSS
$custom: #c452dc; $custom-light: #d98ae7; $custom-dark: #000000;
JSON
{
"hex": "#c452dc",
"rgb": {
"r": 196,
"g": 82,
"b": 220
},
"hsl": {
"h": 289.565,
"s": 66.346,
"l": 59.216
},
"oklch": {
"l": 0.63989,
"c": 0.21943,
"h": 320.3
},
"luminance": 0.22938
}Semantic roles & 50–950 ramp
primary
#C452DC
secondary
#B3E0AA
accent
#E93F5C
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84