#C456F2#C456F2
#C456F2 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.234 H 314.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C456F2 |
|---|---|
| RGB | rgb(196, 86, 242) |
| HSL | hsl(282, 86%, 64%) |
| HSV | hsv(282, 64%, 95%) |
| CMYK | cmyk(19%, 64.5%, 0%, 5.1%) |
| CIE-LAB | lab(56.88, 67.04, -59.61) |
| CIE-LCH | lch(56.88, 89.71, 318.36°) |
| OKLab | oklab(65.74% 0.1639 -0.1676) |
| OKLCH | oklch(65.74% 0.234 314.4) |
| XYZ | xyz(42.1171, 24.8035, 86.5561) |
| Luminance | 0.2480 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.28
Bright Lavender
#C760FF
ΔE00 2.80
Heliotrope
#D94FF5
ΔE00 3.35
Mediumorchid
#BA55D3
ΔE00 4.69
Lighter Purple
#A55AF4
ΔE00 5.51
Light Urple
#B36FF6
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C456F2 #84F256
analogous
#7656F2 #C456F2 #F256D2
triadic
#C456F2 #F2C456 #56F2C4
tetradic
#C456F2 #F27656 #84F256 #56D2F2
square
#C456F2 #F27656 #84F256 #56D2F2
split-complementary
#C456F2 #D2F256 #56F276
monochromatic
#8B0FBF #B01DEE #C456F2 #D88FF6 #ECC8FB
Accessibility & contrast
On white
3.52
#C456F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#C456F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C456F2
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C456F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C456F2 | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#508BEE
Tritanopia (blue-blind)
#C0749D
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #c456f2; /* rgb */ color: rgb(196, 86, 242); /* oklch */ color: oklch(65.7% 0.234 314.4);
Tailwind
colors: {
custom: {
50: '#da8df7',
500: '#c456f2',
950: '#000000',
},
}SCSS
$custom: #c456f2; $custom-light: #da8df7; $custom-dark: #000000;
JSON
{
"hex": "#c456f2",
"rgb": {
"r": 196,
"g": 86,
"b": 242
},
"hsl": {
"h": 282.308,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.65743,
"c": 0.23443,
"h": 314.4
},
"luminance": 0.24802
}Semantic roles & 50–950 ramp
primary
#C456F2
secondary
#C7EDB7
accent
#E20345
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85