#D462F2#D462F2
#D462F2 is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.1% C 0.225 H 318.8°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #D462F2 |
|---|---|
| RGB | rgb(212, 98, 242) |
| HSL | hsl(288, 85%, 67%) |
| HSV | hsv(288, 60%, 95%) |
| CMYK | cmyk(12.4%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(60.91, 65.40, -53.06) |
| CIE-LCH | lch(60.91, 84.22, 320.95°) |
| OKLab | oklab(69.1% 0.169 -0.1481) |
| OKLCH | oklch(69.1% 0.225 318.8) |
| XYZ | xyz(47.5439, 29.1452, 87.1084) |
| Luminance | 0.2914 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.85
Bright Lilac
#C95EFB
ΔE00 2.91
Bright Lavender
#C760FF
ΔE00 3.47
Easter Purple
#C071FE
ΔE00 4.94
Light Purple
#BF77F6
ΔE00 5.33
Pinkish Purple
#D648D7
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D462F2 #80F262
analogous
#8C62F2 #D462F2 #F262C8
triadic
#D462F2 #F2D462 #62F2D4
tetradic
#D462F2 #F28C62 #80F262 #62C8F2
square
#D462F2 #F28C62 #80F262 #62C8F2
split-complementary
#D462F2 #C8F262 #62F28C
monochromatic
#A311C9 #C529ED #D462F2 #E39BF7 #F3D3FB
Accessibility & contrast
On white
3.08
#D462F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#D462F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D462F2
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D462F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D462F2 | 1.00 | 3.08 | 6.83 | 6.83 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#6A97EE
Tritanopia (blue-blind)
#D47AA1
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d462f2; /* rgb */ color: rgb(212, 98, 242); /* oklch */ color: oklch(69.1% 0.225 318.8);
Tailwind
colors: {
custom: {
50: '#e495f7',
500: '#d462f2',
950: '#000000',
},
}SCSS
$custom: #d462f2; $custom-light: #e495f7; $custom-dark: #000000;
JSON
{
"hex": "#d462f2",
"rgb": {
"r": 212,
"g": 98,
"b": 242
},
"hsl": {
"h": 287.5,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.69095,
"c": 0.22467,
"h": 318.8
},
"luminance": 0.29143
}Semantic roles & 50–950 ramp
primary
#D462F2
secondary
#CAEFC1
accent
#E10432
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85