#C462DC#C462DC
#C462DC is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.9% C 0.197 H 319.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C462DC |
|---|---|
| RGB | rgb(196, 98, 220) |
| HSL | hsl(288, 64%, 62%) |
| HSV | hsv(288, 55%, 86%) |
| CMYK | cmyk(10.9%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(57.69, 57.20, -45.99) |
| CIE-LCH | lch(57.69, 73.40, 321.20°) |
| OKLab | oklab(65.94% 0.1492 -0.1279) |
| OKLCH | oklch(65.94% 0.197 319.4) |
| XYZ | xyz(40.0492, 25.6401, 70.5357) |
| Luminance | 0.2564 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.83
Bright Lilac
#C95EFB
ΔE00 4.56
Heliotrope
#D94FF5
ΔE00 4.62
Pinkish Purple
#D648D7
ΔE00 4.74
Bright Lavender
#C760FF
ΔE00 5.18
Orchid
#DA70D6
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C462DC #7ADC62
analogous
#8762DC #C462DC #DC62B7
triadic
#C462DC #DCC462 #62DCC4
tetradic
#C462DC #DC8762 #7ADC62 #62B7DC
square
#C462DC #DC8762 #7ADC62 #62B7DC
split-complementary
#C462DC #B7DC62 #62DC87
monochromatic
#8724A0 #B130D1 #C462DC #D794E7 #EAC6F2
Accessibility & contrast
On white
3.43
#C462DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#C462DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C462DC
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C462DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C462DC | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#6A8ED9
Tritanopia (blue-blind)
#C57496
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c462dc; /* rgb */ color: rgb(196, 98, 220); /* oklch */ color: oklch(65.9% 0.197 319.4);
Tailwind
colors: {
custom: {
50: '#d893e7',
500: '#c462dc',
950: '#000000',
},
}SCSS
$custom: #c462dc; $custom-light: #d893e7; $custom-dark: #000000;
JSON
{
"hex": "#c462dc",
"rgb": {
"r": 196,
"g": 98,
"b": 220
},
"hsl": {
"h": 288.197,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.65943,
"c": 0.19655,
"h": 319.4
},
"luminance": 0.25638
}Semantic roles & 50–950 ramp
primary
#C462DC
secondary
#BFE3B7
accent
#CB1A3D
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84