#D681EB#D681EB
#D681EB is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.171 H 319.5°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #D681EB |
|---|---|
| RGB | rgb(214, 129, 235) |
| HSL | hsl(288, 73%, 71%) |
| HSV | hsv(288, 45%, 92%) |
| CMYK | cmyk(8.9%, 45.1%, 0%, 7.8%) |
| CIE-LAB | lab(66.52, 49.49, -40.33) |
| CIE-LCH | lch(66.52, 63.84, 320.82°) |
| OKLab | oklab(73.17% 0.1302 -0.1113) |
| OKLCH | oklch(73.17% 0.171 319.5) |
| XYZ | xyz(50.5753, 35.9966, 82.8651) |
| Luminance | 0.3599 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.22
Lavender Pink
#DD85D7
ΔE00 4.94
Orchid
#DA70D6
ΔE00 4.98
Purply Pink
#F075E6
ΔE00 5.16
Light Purple
#BF77F6
ΔE00 6.07
Liliac
#C48EFD
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D681EB #96EB81
analogous
#A181EB #D681EB #EB81CB
triadic
#D681EB #EBD681 #81EBD6
tetradic
#D681EB #EBA181 #96EB81 #81CBEB
square
#D681EB #EBA181 #96EB81 #81CBEB
split-complementary
#D681EB #CBEB81 #81EBA1
monochromatic
#AE21D1 #C54CE3 #D681EB #E7B6F3 #F6E5FB
Accessibility & contrast
On white
2.56
#D681EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#D681EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D681EB
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D681EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D681EB | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#D78FAB
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d681eb; /* rgb */ color: rgb(214, 129, 235); /* oklch */ color: oklch(73.2% 0.171 319.5);
Tailwind
colors: {
custom: {
50: '#e4a8f2',
500: '#d681eb',
950: '#000000',
},
}SCSS
$custom: #d681eb; $custom-light: #e4a8f2; $custom-dark: #000000;
JSON
{
"hex": "#d681eb",
"rgb": {
"r": 214,
"g": 129,
"b": 235
},
"hsl": {
"h": 288.113,
"s": 72.603,
"l": 71.373
},
"oklch": {
"l": 0.73168,
"c": 0.17131,
"h": 319.5
},
"luminance": 0.35995
}Semantic roles & 50–950 ramp
primary
#D681EB
secondary
#DCF2D6
accent
#D51138
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85