#D682ED#D682ED
#D682ED is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.4% C 0.172 H 318.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #D682ED |
|---|---|
| RGB | rgb(214, 130, 237) |
| HSL | hsl(287, 75%, 72%) |
| HSV | hsv(287, 45%, 93%) |
| CMYK | cmyk(9.7%, 45.1%, 0%, 7.1%) |
| CIE-LAB | lab(66.81, 49.37, -40.98) |
| CIE-LCH | lch(66.81, 64.16, 320.31°) |
| OKLab | oklab(73.41% 0.1291 -0.1132) |
| OKLCH | oklch(73.41% 0.172 318.8) |
| XYZ | xyz(50.9982, 36.3775, 84.4395) |
| Luminance | 0.3638 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.31
Lavender Pink
#DD85D7
ΔE00 5.20
Orchid
#DA70D6
ΔE00 5.35
Purply Pink
#F075E6
ΔE00 5.39
Liliac
#C48EFD
ΔE00 5.82
Light Purple
#BF77F6
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D682ED #99ED82
analogous
#A182ED #D682ED #ED82CE
triadic
#D682ED #EDD682 #82EDD6
tetradic
#D682ED #EDA182 #99ED82 #82CEED
square
#D682ED #EDA182 #99ED82 #82CEED
split-complementary
#D682ED #CEED82 #82EDA1
monochromatic
#AE1FD6 #C44DE5 #D682ED #E8B7F5 #F6E4FB
Accessibility & contrast
On white
2.54
#D682ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#D682ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D682ED
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D682ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D682ED | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#719DF1
Deuteranopia (green-blind)
#88A5EA
Tritanopia (blue-blind)
#D690AC
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d682ed; /* rgb */ color: rgb(214, 130, 237); /* oklch */ color: oklch(73.4% 0.172 318.8);
Tailwind
colors: {
custom: {
50: '#e4a8f3',
500: '#d682ed',
950: '#000000',
},
}SCSS
$custom: #d682ed; $custom-light: #e4a8f3; $custom-dark: #000000;
JSON
{
"hex": "#d682ed",
"rgb": {
"r": 214,
"g": 130,
"b": 237
},
"hsl": {
"h": 287.103,
"s": 74.825,
"l": 71.961
},
"oklch": {
"l": 0.73413,
"c": 0.17173,
"h": 318.8
},
"luminance": 0.36376
}Semantic roles & 50–950 ramp
primary
#D682ED
secondary
#DEF3D8
accent
#D70F3A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85