#D462F8#D462F8
#D462F8 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.4% C 0.230 H 317.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #D462F8 |
|---|---|
| RGB | rgb(212, 98, 248) |
| HSL | hsl(286, 91%, 68%) |
| HSV | hsv(286, 60%, 97%) |
| CMYK | cmyk(14.5%, 60.5%, 0%, 2.7%) |
| CIE-LAB | lab(61.23, 66.55, -55.87) |
| CIE-LCH | lch(61.23, 86.90, 319.98°) |
| OKLab | oklab(69.43% 0.1691 -0.1563) |
| OKLCH | oklch(69.43% 0.23 317.2) |
| XYZ | xyz(48.4599, 29.5116, 91.9324) |
| Luminance | 0.2951 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.42
Bright Lavender
#C760FF
ΔE00 2.86
Heliotrope
#D94FF5
ΔE00 2.95
Easter Purple
#C071FE
ΔE00 4.42
Light Purple
#BF77F6
ΔE00 5.04
Light Urple
#B36FF6
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D462F8 #86F862
analogous
#8962F8 #D462F8 #F862D1
triadic
#D462F8 #F8D462 #62F8D4
tetradic
#D462F8 #F88962 #86F862 #62D1F8
square
#D462F8 #F88962 #86F862 #62D1F8
split-complementary
#D462F8 #D1F862 #62F889
monochromatic
#A50AD6 #C427F5 #D462F8 #E49DFB #F4D7FD
Accessibility & contrast
On white
3.04
#D462F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#D462F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D462F8
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D462F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D462F8 | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#368DFD
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#D37CA4
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #d462f8; /* rgb */ color: rgb(212, 98, 248); /* oklch */ color: oklch(69.4% 0.230 317.2);
Tailwind
colors: {
custom: {
50: '#e595fb',
500: '#d462f8',
950: '#000000',
},
}SCSS
$custom: #d462f8; $custom-light: #e595fb; $custom-dark: #000000;
JSON
{
"hex": "#d462f8",
"rgb": {
"r": 212,
"g": 98,
"b": 248
},
"hsl": {
"h": 285.6,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.69432,
"c": 0.23026,
"h": 317.2
},
"luminance": 0.2951
}Semantic roles & 50–950 ramp
primary
#D462F8
secondary
#CFF2C4
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85