#C452F2#C452F2
#C452F2 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.3% C 0.239 H 314.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C452F2 |
|---|---|
| RGB | rgb(196, 82, 242) |
| HSL | hsl(283, 86%, 64%) |
| HSV | hsv(283, 66%, 95%) |
| CMYK | cmyk(19%, 66.1%, 0%, 5.1%) |
| CIE-LAB | lab(56.27, 68.74, -60.59) |
| CIE-LCH | lch(56.27, 91.64, 318.61°) |
| OKLab | oklab(65.3% 0.1682 -0.1705) |
| OKLCH | oklch(65.3% 0.24 314.6) |
| XYZ | xyz(41.8066, 24.1826, 86.4526) |
| Luminance | 0.2418 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.88
Bright Lavender
#C760FF
ΔE00 3.37
Heliotrope
#D94FF5
ΔE00 3.51
Mediumorchid
#BA55D3
ΔE00 4.55
Lighter Purple
#A55AF4
ΔE00 5.41
Lightish Purple
#A552E6
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C452F2 #80F252
analogous
#7452F2 #C452F2 #F252D0
triadic
#C452F2 #F2C452 #52F2C4
tetradic
#C452F2 #F27452 #80F252 #52D0F2
square
#C452F2 #F27452 #80F252 #52D0F2
split-complementary
#C452F2 #D0F252 #52F274
monochromatic
#8A0EBC #B119EE #C452F2 #D78BF6 #EBC4FB
Accessibility & contrast
On white
3.60
#C452F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#C452F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C452F2
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C452F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C452F2 | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4C8AEE
Tritanopia (blue-blind)
#C0719C
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #c452f2; /* rgb */ color: rgb(196, 82, 242); /* oklch */ color: oklch(65.3% 0.239 314.6);
Tailwind
colors: {
custom: {
50: '#da8af7',
500: '#c452f2',
950: '#000000',
},
}SCSS
$custom: #c452f2; $custom-light: #da8af7; $custom-dark: #000000;
JSON
{
"hex": "#c452f2",
"rgb": {
"r": 196,
"g": 82,
"b": 242
},
"hsl": {
"h": 282.75,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.65302,
"c": 0.2395,
"h": 314.6
},
"luminance": 0.24181
}Semantic roles & 50–950 ramp
primary
#C452F2
secondary
#C4ECB4
accent
#E30343
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85