#D682EF#D682EF
#D682EF is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.5% C 0.174 H 318.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #D682EF |
|---|---|
| RGB | rgb(214, 130, 239) |
| HSL | hsl(286, 77%, 72%) |
| HSV | hsv(286, 46%, 94%) |
| CMYK | cmyk(10.5%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(66.90, 49.76, -41.94) |
| CIE-LCH | lch(66.90, 65.08, 319.88°) |
| OKLab | oklab(73.51% 0.1294 -0.116) |
| OKLCH | oklch(73.51% 0.174 318.1) |
| XYZ | xyz(51.2920, 36.4951, 85.9870) |
| Luminance | 0.3649 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.46
Lavender Pink
#DD85D7
ΔE00 5.53
Purply Pink
#F075E6
ΔE00 5.57
Liliac
#C48EFD
ΔE00 5.59
Orchid
#DA70D6
ΔE00 5.60
Light Purple
#BF77F6
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D682EF #9BEF82
analogous
#A082EF #D682EF #EF82D1
triadic
#D682EF #EFD682 #82EFD6
tetradic
#D682EF #EFA082 #9BEF82 #82D1EF
square
#D682EF #EFA082 #9BEF82 #82D1EF
split-complementary
#D682EF #D1EF82 #82EFA0
monochromatic
#AF1CDB #C44CE8 #D682EF #E8B8F6 #F6E4FC
Accessibility & contrast
On white
2.53
#D682EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#D682EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D682EF
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D682EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D682EF | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709DF3
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#D691AD
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d682ef; /* rgb */ color: rgb(214, 130, 239); /* oklch */ color: oklch(73.5% 0.174 318.1);
Tailwind
colors: {
custom: {
50: '#e4a8f4',
500: '#d682ef',
950: '#000000',
},
}SCSS
$custom: #d682ef; $custom-light: #e4a8f4; $custom-dark: #000000;
JSON
{
"hex": "#d682ef",
"rgb": {
"r": 214,
"g": 130,
"b": 239
},
"hsl": {
"h": 286.239,
"s": 77.305,
"l": 72.353
},
"oklch": {
"l": 0.73508,
"c": 0.17381,
"h": 318.1
},
"luminance": 0.36493
}Semantic roles & 50–950 ramp
primary
#D682EF
secondary
#DEF3D8
accent
#DA0C3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85