#D182EF#D182EF
#D182EF is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.171 H 316.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #D182EF |
|---|---|
| RGB | rgb(209, 130, 239) |
| HSL | hsl(283, 77%, 72%) |
| HSV | hsv(283, 46%, 94%) |
| CMYK | cmyk(12.6%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(66.33, 48.36, -42.87) |
| CIE-LCH | lch(66.33, 64.62, 318.45°) |
| OKLab | oklab(72.96% 0.1236 -0.1188) |
| OKLCH | oklch(72.96% 0.171 316.2) |
| XYZ | xyz(49.8548, 35.7540, 85.9196) |
| Luminance | 0.3575 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.89
Light Purple
#BF77F6
ΔE00 4.95
Violet (CSS)
#EE82EE
ΔE00 5.41
Orchid
#DA70D6
ΔE00 6.04
Lavender Pink
#DD85D7
ΔE00 6.17
Easter Purple
#C071FE
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D182EF #A0EF82
analogous
#9A82EF #D182EF #EF82D7
triadic
#D182EF #EFD182 #82EFD1
tetradic
#D182EF #EF9A82 #A0EF82 #82D7EF
square
#D182EF #EF9A82 #A0EF82 #82D7EF
split-complementary
#D182EF #D7EF82 #82EF9A
monochromatic
#A61CDB #BD4CE8 #D182EF #E5B8F6 #F5E4FC
Accessibility & contrast
On white
2.58
#D182EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#D182EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D182EF
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D182EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D182EF | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#D091AD
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d182ef; /* rgb */ color: rgb(209, 130, 239); /* oklch */ color: oklch(73.0% 0.171 316.2);
Tailwind
colors: {
custom: {
50: '#e1a8f4',
500: '#d182ef',
950: '#000000',
},
}SCSS
$custom: #d182ef; $custom-light: #e1a8f4; $custom-dark: #000000;
JSON
{
"hex": "#d182ef",
"rgb": {
"r": 209,
"g": 130,
"b": 239
},
"hsl": {
"h": 283.486,
"s": 77.305,
"l": 72.353
},
"oklch": {
"l": 0.72963,
"c": 0.17144,
"h": 316.2
},
"luminance": 0.35753
}Semantic roles & 50–950 ramp
primary
#D182EF
secondary
#DFF3D8
accent
#DA0C45
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85