#D182EB#D182EB
#D182EB is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.8% C 0.167 H 317.4°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #D182EB |
|---|---|
| RGB | rgb(209, 130, 235) |
| HSL | hsl(285, 72%, 72%) |
| HSV | hsv(285, 45%, 92%) |
| CMYK | cmyk(11.1%, 44.7%, 0%, 7.8%) |
| CIE-LAB | lab(66.15, 47.55, -40.94) |
| CIE-LCH | lch(66.15, 62.75, 319.27°) |
| OKLab | oklab(72.77% 0.123 -0.1132) |
| OKLCH | oklch(72.77% 0.167 317.4) |
| XYZ | xyz(49.2704, 35.5202, 82.8418) |
| Luminance | 0.3552 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 5.13
Liliac
#C48EFD
ΔE00 5.37
Light Purple
#BF77F6
ΔE00 5.40
Lavender Pink
#DD85D7
ΔE00 5.53
Orchid
#DA70D6
ΔE00 5.54
Purply Pink
#F075E6
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D182EB #9CEB82
analogous
#9D82EB #D182EB #EB82D1
triadic
#D182EB #EBD182 #82EBD1
tetradic
#D182EB #EB9D82 #9CEB82 #82D1EB
square
#D182EB #EB9D82 #9CEB82 #82D1EB
split-complementary
#D182EB #D1EB82 #82EB9D
monochromatic
#A621D1 #BE4DE3 #D182EB #E4B7F3 #F5E5FB
Accessibility & contrast
On white
2.59
#D182EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#D182EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D182EB
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D182EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D182EB | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#86A3E8
Tritanopia (blue-blind)
#D190AB
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d182eb; /* rgb */ color: rgb(209, 130, 235); /* oklch */ color: oklch(72.8% 0.167 317.4);
Tailwind
colors: {
custom: {
50: '#e1a8f2',
500: '#d182eb',
950: '#000000',
},
}SCSS
$custom: #d182eb; $custom-light: #e1a8f2; $custom-dark: #000000;
JSON
{
"hex": "#d182eb",
"rgb": {
"r": 209,
"g": 130,
"b": 235
},
"hsl": {
"h": 285.143,
"s": 72.414,
"l": 71.569
},
"oklch": {
"l": 0.7277,
"c": 0.16718,
"h": 317.4
},
"luminance": 0.35519
}Semantic roles & 50–950 ramp
primary
#D182EB
secondary
#DEF2D7
accent
#D41141
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85