#D181EB#D181EB
#D181EB is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.6% C 0.169 H 317.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #D181EB |
|---|---|
| RGB | rgb(209, 129, 235) |
| HSL | hsl(285, 73%, 71%) |
| HSV | hsv(285, 45%, 92%) |
| CMYK | cmyk(11.1%, 45.1%, 0%, 7.8%) |
| CIE-LAB | lab(65.95, 48.07, -41.26) |
| CIE-LCH | lch(65.95, 63.35, 319.36°) |
| OKLab | oklab(72.62% 0.1244 -0.1141) |
| OKLCH | oklch(72.62% 0.169 317.5) |
| XYZ | xyz(49.1380, 35.2555, 82.7977) |
| Luminance | 0.3525 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 5.16
Light Purple
#BF77F6
ΔE00 5.26
Orchid
#DA70D6
ΔE00 5.41
Liliac
#C48EFD
ΔE00 5.47
Lavender Pink
#DD85D7
ΔE00 5.60
Purply Pink
#F075E6
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D181EB #9BEB81
analogous
#9C81EB #D181EB #EB81D0
triadic
#D181EB #EBD181 #81EBD1
tetradic
#D181EB #EB9C81 #9BEB81 #81D0EB
square
#D181EB #EB9C81 #9BEB81 #81D0EB
split-complementary
#D181EB #D0EB81 #81EB9C
monochromatic
#A521D1 #BE4CE3 #D181EB #E4B6F3 #F5E5FB
Accessibility & contrast
On white
2.61
#D181EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#D181EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D181EB
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D181EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D181EB | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#D190AB
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d181eb; /* rgb */ color: rgb(209, 129, 235); /* oklch */ color: oklch(72.6% 0.169 317.5);
Tailwind
colors: {
custom: {
50: '#e1a7f2',
500: '#d181eb',
950: '#000000',
},
}SCSS
$custom: #d181eb; $custom-light: #e1a7f2; $custom-dark: #000000;
JSON
{
"hex": "#d181eb",
"rgb": {
"r": 209,
"g": 129,
"b": 235
},
"hsl": {
"h": 285.283,
"s": 72.603,
"l": 71.373
},
"oklch": {
"l": 0.72617,
"c": 0.16884,
"h": 317.5
},
"luminance": 0.35254
}Semantic roles & 50–950 ramp
primary
#D181EB
secondary
#DDF2D6
accent
#D51141
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85