#C462DB#C462DB
#C462DB is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.9% C 0.196 H 319.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C462DB |
|---|---|
| RGB | rgb(196, 98, 219) |
| HSL | hsl(289, 63%, 62%) |
| HSV | hsv(289, 55%, 86%) |
| CMYK | cmyk(10.5%, 55.3%, 0%, 14.1%) |
| CIE-LAB | lab(57.64, 57.01, -45.51) |
| CIE-LCH | lch(57.64, 72.95, 321.40°) |
| OKLab | oklab(65.89% 0.1491 -0.1265) |
| OKLCH | oklch(65.89% 0.196 319.7) |
| XYZ | xyz(39.9172, 25.5873, 69.8403) |
| Luminance | 0.2559 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.81
Pinkish Purple
#D648D7
ΔE00 4.68
Heliotrope
#D94FF5
ΔE00 4.72
Bright Lilac
#C95EFB
ΔE00 4.72
Bright Lavender
#C760FF
ΔE00 5.34
Orchid
#DA70D6
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C462DB #79DB62
analogous
#8862DB #C462DB #DB62B6
triadic
#C462DB #DBC462 #62DBC4
tetradic
#C462DB #DB8862 #79DB62 #62B6DB
square
#C462DB #DB8862 #79DB62 #62B6DB
split-complementary
#C462DB #B6DB62 #62DB88
monochromatic
#87249E #B130D0 #C462DB #D794E6 #E9C6F2
Accessibility & contrast
On white
3.43
#C462DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#C462DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C462DB
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C462DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C462DB | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4984DF
Deuteranopia (green-blind)
#6B8ED8
Tritanopia (blue-blind)
#C57495
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #c462db; /* rgb */ color: rgb(196, 98, 219); /* oklch */ color: oklch(65.9% 0.196 319.7);
Tailwind
colors: {
custom: {
50: '#d893e6',
500: '#c462db',
950: '#000000',
},
}SCSS
$custom: #c462db; $custom-light: #d893e6; $custom-dark: #000000;
JSON
{
"hex": "#c462db",
"rgb": {
"r": 196,
"g": 98,
"b": 219
},
"hsl": {
"h": 288.595,
"s": 62.694,
"l": 62.157
},
"oklch": {
"l": 0.6589,
"c": 0.19558,
"h": 319.7
},
"luminance": 0.25586
}Semantic roles & 50–950 ramp
primary
#C462DB
secondary
#BFE3B6
accent
#CA1B3C
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84