#D462EB#D462EB
#D462EB is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.7% C 0.218 H 320.6°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #D462EB |
|---|---|
| RGB | rgb(212, 98, 235) |
| HSL | hsl(290, 77%, 65%) |
| HSV | hsv(290, 58%, 92%) |
| CMYK | cmyk(9.8%, 58.3%, 0%, 7.8%) |
| CIE-LAB | lab(60.55, 64.08, -49.75) |
| CIE-LCH | lch(60.55, 81.13, 322.18°) |
| OKLab | oklab(68.71% 0.1687 -0.1384) |
| OKLCH | oklch(68.71% 0.218 320.6) |
| XYZ | xyz(46.5127, 28.7327, 81.6771) |
| Luminance | 0.2873 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.09
Bright Lilac
#C95EFB
ΔE00 3.72
Bright Lavender
#C760FF
ΔE00 4.35
Pinkish Purple
#D648D7
ΔE00 5.29
Orchid
#DA70D6
ΔE00 5.41
Easter Purple
#C071FE
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D462EB #79EB62
analogous
#8F62EB #D462EB #EB62BD
triadic
#D462EB #EBD462 #62EBD4
tetradic
#D462EB #EB8F62 #79EB62 #62BDEB
square
#D462EB #EB8F62 #79EB62 #62BDEB
split-complementary
#D462EB #BDEB62 #62EB8F
monochromatic
#9F18BB #C52CE4 #D462EB #E398F2 #F2CFF9
Accessibility & contrast
On white
3.11
#D462EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#D462EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D462EB
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D462EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D462EB | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#6F96E7
Tritanopia (blue-blind)
#D5779E
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d462eb; /* rgb */ color: rgb(212, 98, 235); /* oklch */ color: oklch(68.7% 0.218 320.6);
Tailwind
colors: {
custom: {
50: '#e494f2',
500: '#d462eb',
950: '#000000',
},
}SCSS
$custom: #d462eb; $custom-light: #e494f2; $custom-dark: #000000;
JSON
{
"hex": "#d462eb",
"rgb": {
"r": 212,
"g": 98,
"b": 235
},
"hsl": {
"h": 289.927,
"s": 77.401,
"l": 65.294
},
"oklch": {
"l": 0.68712,
"c": 0.21822,
"h": 320.6
},
"luminance": 0.28731
}Semantic roles & 50–950 ramp
primary
#D462EB
secondary
#C5EBBD
accent
#DA0C2E
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85