#D156E8#D156E8
#D156E8 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.231 H 321.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #D156E8 |
|---|---|
| RGB | rgb(209, 86, 232) |
| HSL | hsl(291, 76%, 62%) |
| HSV | hsv(291, 63%, 91%) |
| CMYK | cmyk(9.9%, 62.9%, 0%, 9%) |
| CIE-LAB | lab(58.07, 68.05, -52.02) |
| CIE-LCH | lch(58.07, 85.66, 322.60°) |
| OKLab | oklab(66.78% 0.1793 -0.1451) |
| OKLCH | oklch(66.78% 0.231 321) |
| XYZ | xyz(44.1861, 26.0393, 79.0269) |
| Luminance | 0.2604 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.95
Pinkish Purple
#D648D7
ΔE00 3.53
Bright Lilac
#C95EFB
ΔE00 3.62
Bright Lavender
#C760FF
ΔE00 4.42
Mediumorchid
#BA55D3
ΔE00 4.73
Pink Purple
#EF1DE7
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D156E8 #6DE856
analogous
#8856E8 #D156E8 #E856B6
triadic
#D156E8 #E8D156 #56E8D1
tetradic
#D156E8 #E88856 #6DE856 #56B6E8
square
#D156E8 #E88856 #6DE856 #56B6E8
split-complementary
#D156E8 #B6E856 #56E888
monochromatic
#9517AC #C220E1 #D156E8 #E08CEF #EEC2F7
Accessibility & contrast
On white
3.38
#D156E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#D156E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D156E8
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D156E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D156E8 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3083EC
Deuteranopia (green-blind)
#6590E4
Tritanopia (blue-blind)
#D36E98
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #d156e8; /* rgb */ color: rgb(209, 86, 232); /* oklch */ color: oklch(66.8% 0.231 321.0);
Tailwind
colors: {
custom: {
50: '#e28df0',
500: '#d156e8',
950: '#000000',
},
}SCSS
$custom: #d156e8; $custom-light: #e28df0; $custom-dark: #000000;
JSON
{
"hex": "#d156e8",
"rgb": {
"r": 209,
"g": 86,
"b": 232
},
"hsl": {
"h": 290.548,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.66783,
"c": 0.23059,
"h": 321
},
"luminance": 0.26037
}Semantic roles & 50–950 ramp
primary
#D156E8
secondary
#BBE8B2
accent
#D80D2D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85