#D462C7#D462C7
#D462C7 is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.9% C 0.187 H 332.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #D462C7 |
|---|---|
| RGB | rgb(212, 98, 199) |
| HSL | hsl(307, 57%, 61%) |
| HSV | hsv(307, 54%, 83%) |
| CMYK | cmyk(0%, 53.8%, 6.1%, 16.9%) |
| CIE-LAB | lab(58.84, 57.72, -32.15) |
| CIE-LCH | lch(58.84, 66.07, 330.88°) |
| OKLab | oklab(66.91% 0.1648 -0.0877) |
| OKLCH | oklch(66.91% 0.187 332) |
| XYZ | xyz(41.8277, 26.8587, 57.0029) |
| Luminance | 0.2686 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.26
Orchid
#DA70D6
ΔE00 3.73
Orchid (survey)
#C875C4
ΔE00 4.38
Purplish Pink
#CE5DAE
ΔE00 4.61
Pinky Purple
#C94CBE
ΔE00 5.42
Pinkish Purple
#D648D7
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D462C7 #62D46F
analogous
#A862D4 #D462C7 #D4628E
triadic
#D462C7 #C7D462 #62C7D4
tetradic
#D462C7 #D4A862 #62D46F #628ED4
square
#D462C7 #D4A862 #62D46F #628ED4
split-complementary
#D462C7 #8ED462 #62D4A8
monochromatic
#932887 #C335B3 #D462C7 #E192D8 #EEC2E9
Accessibility & contrast
On white
3.30
#D462C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#D462C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D462C7
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D462C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D462C7 | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E83CA
Deuteranopia (green-blind)
#8093C4
Tritanopia (blue-blind)
#DC6B8C
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #d462c7; /* rgb */ color: rgb(212, 98, 199); /* oklch */ color: oklch(66.9% 0.187 332.0);
Tailwind
colors: {
custom: {
50: '#e494d8',
500: '#d462c7',
950: '#000000',
},
}SCSS
$custom: #d462c7; $custom-light: #e494d8; $custom-dark: #000000;
JSON
{
"hex": "#d462c7",
"rgb": {
"r": 212,
"g": 98,
"b": 199
},
"hsl": {
"h": 306.842,
"s": 57,
"l": 60.784
},
"oklch": {
"l": 0.6691,
"c": 0.1867,
"h": 332
},
"luminance": 0.26856
}Semantic roles & 50–950 ramp
primary
#D462C7
secondary
#B3DEB8
accent
#C53421
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83