#D783EC#D783EC
#D783EC is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.6% C 0.170 H 319.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #D783EC |
|---|---|
| RGB | rgb(215, 131, 236) |
| HSL | hsl(288, 73%, 72%) |
| HSV | hsv(288, 44%, 93%) |
| CMYK | cmyk(8.9%, 44.5%, 0%, 7.5%) |
| CIE-LAB | lab(67.08, 48.94, -39.99) |
| CIE-LCH | lch(67.08, 63.20, 320.74°) |
| OKLab | oklab(73.63% 0.1287 -0.1104) |
| OKLCH | oklch(73.63% 0.17 319.4) |
| XYZ | xyz(51.2790, 36.7376, 83.7305) |
| Luminance | 0.3674 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.03
Lavender Pink
#DD85D7
ΔE00 4.83
Purply Pink
#F075E6
ΔE00 5.22
Orchid
#DA70D6
ΔE00 5.30
Liliac
#C48EFD
ΔE00 6.01
Light Purple
#BF77F6
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D783EC #98EC83
analogous
#A383EC #D783EC #EC83CD
triadic
#D783EC #ECD783 #83ECD7
tetradic
#D783EC #ECA383 #98EC83 #83CDEC
square
#D783EC #ECA383 #98EC83 #83CDEC
split-complementary
#D783EC #CDEC83 #83ECA3
monochromatic
#B020D4 #C64EE4 #D783EC #E8B8F4 #F6E4FB
Accessibility & contrast
On white
2.52
#D783EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#D783EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D783EC
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D783EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D783EC | 1.00 | 2.52 | 8.35 | 8.35 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#739DF0
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#D891AC
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d783ec; /* rgb */ color: rgb(215, 131, 236); /* oklch */ color: oklch(73.6% 0.170 319.4);
Tailwind
colors: {
custom: {
50: '#e5a9f2',
500: '#d783ec',
950: '#000000',
},
}SCSS
$custom: #d783ec; $custom-light: #e5a9f2; $custom-dark: #000000;
JSON
{
"hex": "#d783ec",
"rgb": {
"r": 215,
"g": 131,
"b": 236
},
"hsl": {
"h": 288,
"s": 73.427,
"l": 71.961
},
"oklch": {
"l": 0.73627,
"c": 0.16956,
"h": 319.4
},
"luminance": 0.36736
}Semantic roles & 50–950 ramp
primary
#D783EC
secondary
#DEF3D8
accent
#D61037
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85