#D156EC#D156EC
#D156EC is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.0% C 0.234 H 320.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #D156EC |
|---|---|
| RGB | rgb(209, 86, 236) |
| HSL | hsl(289, 80%, 63%) |
| HSV | hsv(289, 64%, 93%) |
| CMYK | cmyk(11.4%, 63.6%, 0%, 7.5%) |
| CIE-LAB | lab(58.29, 68.78, -53.91) |
| CIE-LCH | lch(58.29, 87.39, 321.91°) |
| OKLab | oklab(67.01% 0.1793 -0.1506) |
| OKLCH | oklch(67.01% 0.234 320) |
| XYZ | xyz(44.7607, 26.2691, 82.0533) |
| Luminance | 0.2627 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.55
Bright Lilac
#C95EFB
ΔE00 3.08
Bright Lavender
#C760FF
ΔE00 3.88
Pinkish Purple
#D648D7
ΔE00 4.05
Mediumorchid
#BA55D3
ΔE00 5.01
Pink Purple
#EF1DE7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D156EC #71EC56
analogous
#8656EC #D156EC #EC56BC
triadic
#D156EC #ECD156 #56ECD1
tetradic
#D156EC #EC8656 #71EC56 #56BCEC
square
#D156EC #EC8656 #71EC56 #56BCEC
split-complementary
#D156EC #BCEC56 #56EC86
monochromatic
#9714B3 #C21FE6 #D156EC #E08DF2 #EFC4F8
Accessibility & contrast
On white
3.36
#D156EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#D156EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D156EC
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D156EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D156EC | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A84F0
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#D26F9A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #d156ec; /* rgb */ color: rgb(209, 86, 236); /* oklch */ color: oklch(67.0% 0.234 320.0);
Tailwind
colors: {
custom: {
50: '#e38df3',
500: '#d156ec',
950: '#000000',
},
}SCSS
$custom: #d156ec; $custom-light: #e38df3; $custom-dark: #000000;
JSON
{
"hex": "#d156ec",
"rgb": {
"r": 209,
"g": 86,
"b": 236
},
"hsl": {
"h": 289.2,
"s": 79.787,
"l": 63.137
},
"oklch": {
"l": 0.67011,
"c": 0.23411,
"h": 320
},
"luminance": 0.26267
}Semantic roles & 50–950 ramp
primary
#D156EC
secondary
#BEEAB4
accent
#DC092F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85