#D456EF#D456EF
#D456EF is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.6% C 0.238 H 320.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #D456EF |
|---|---|
| RGB | rgb(212, 86, 239) |
| HSL | hsl(289, 83%, 64%) |
| HSV | hsv(289, 64%, 94%) |
| CMYK | cmyk(11.3%, 64%, 0%, 6.3%) |
| CIE-LAB | lab(58.87, 70.01, -54.64) |
| CIE-LCH | lch(58.87, 88.81, 322.03°) |
| OKLab | oklab(67.57% 0.1827 -0.1526) |
| OKLCH | oklch(67.57% 0.238 320.1) |
| XYZ | xyz(46.0572, 26.8868, 84.4083) |
| Luminance | 0.2688 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.16
Bright Lilac
#C95EFB
ΔE00 3.01
Bright Lavender
#C760FF
ΔE00 3.79
Pinkish Purple
#D648D7
ΔE00 4.34
Mediumorchid
#BA55D3
ΔE00 5.61
Pink Purple
#EF1DE7
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D456EF #71EF56
analogous
#8756EF #D456EF #EF56BD
triadic
#D456EF #EFD456 #56EFD4
tetradic
#D456EF #EF8756 #71EF56 #56BDEF
square
#D456EF #EF8756 #71EF56 #56BDEF
split-complementary
#D456EF #BDEF56 #56EF87
monochromatic
#9C12B9 #C61EEA #D456EF #E28EF4 #F0C6FA
Accessibility & contrast
On white
3.29
#D456EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#D456EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D456EF
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D456EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D456EF | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2885F4
Deuteranopia (green-blind)
#6392EB
Tritanopia (blue-blind)
#D5709B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #d456ef; /* rgb */ color: rgb(212, 86, 239); /* oklch */ color: oklch(67.6% 0.238 320.1);
Tailwind
colors: {
custom: {
50: '#e58ef5',
500: '#d456ef',
950: '#000000',
},
}SCSS
$custom: #d456ef; $custom-light: #e58ef5; $custom-dark: #000000;
JSON
{
"hex": "#d456ef",
"rgb": {
"r": 212,
"g": 86,
"b": 239
},
"hsl": {
"h": 289.412,
"s": 82.703,
"l": 63.725
},
"oklch": {
"l": 0.67565,
"c": 0.23805,
"h": 320.1
},
"luminance": 0.26885
}Semantic roles & 50–950 ramp
primary
#D456EF
secondary
#BFEBB5
accent
#DF062D
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85