#D156EF#D156EF
#D156EF is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.2% C 0.237 H 319.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #D156EF |
|---|---|
| RGB | rgb(209, 86, 239) |
| HSL | hsl(288, 83%, 64%) |
| HSV | hsv(288, 64%, 94%) |
| CMYK | cmyk(12.6%, 64%, 0%, 6.3%) |
| CIE-LAB | lab(58.46, 69.34, -55.32) |
| CIE-LCH | lch(58.46, 88.71, 321.42°) |
| OKLab | oklab(67.18% 0.1793 -0.1547) |
| OKLCH | oklch(67.18% 0.237 319.2) |
| XYZ | xyz(45.2003, 26.4449, 84.3681) |
| Luminance | 0.2644 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.36
Bright Lilac
#C95EFB
ΔE00 2.70
Bright Lavender
#C760FF
ΔE00 3.50
Pinkish Purple
#D648D7
ΔE00 4.44
Mediumorchid
#BA55D3
ΔE00 5.27
Pink Purple
#EF1DE7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D156EF #74EF56
analogous
#8456EF #D156EF #EF56C1
triadic
#D156EF #EFD156 #56EFD1
tetradic
#D156EF #EF8456 #74EF56 #56C1EF
square
#D156EF #EF8456 #74EF56 #56C1EF
split-complementary
#D156EF #C1EF56 #56EF84
monochromatic
#9812B9 #C21EEA #D156EF #E08EF4 #EFC6FA
Accessibility & contrast
On white
3.34
#D156EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#D156EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D156EF
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D156EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D156EF | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2584F4
Deuteranopia (green-blind)
#6091EB
Tritanopia (blue-blind)
#D1719B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #d156ef; /* rgb */ color: rgb(209, 86, 239); /* oklch */ color: oklch(67.2% 0.237 319.2);
Tailwind
colors: {
custom: {
50: '#e38ef5',
500: '#d156ef',
950: '#000000',
},
}SCSS
$custom: #d156ef; $custom-light: #e38ef5; $custom-dark: #000000;
JSON
{
"hex": "#d156ef",
"rgb": {
"r": 209,
"g": 86,
"b": 239
},
"hsl": {
"h": 288.235,
"s": 82.703,
"l": 63.725
},
"oklch": {
"l": 0.67183,
"c": 0.23678,
"h": 319.2
},
"luminance": 0.26443
}Semantic roles & 50–950 ramp
primary
#D156EF
secondary
#C0EBB5
accent
#DF0631
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85