#D165EC#D165EC
#D165EC is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.8% C 0.213 H 319.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #D165EC |
|---|---|
| RGB | rgb(209, 101, 236) |
| HSL | hsl(288, 78%, 66%) |
| HSV | hsv(288, 57%, 93%) |
| CMYK | cmyk(11.4%, 57.2%, 0%, 7.5%) |
| CIE-LAB | lab(60.71, 62.16, -50.07) |
| CIE-LCH | lch(60.71, 79.81, 321.15°) |
| OKLab | oklab(68.77% 0.1616 -0.1395) |
| OKLCH | oklch(68.77% 0.213 319.2) |
| XYZ | xyz(46.0865, 28.9207, 82.4953) |
| Luminance | 0.2892 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.43
Heliotrope
#D94FF5
ΔE00 3.47
Bright Lavender
#C760FF
ΔE00 3.99
Easter Purple
#C071FE
ΔE00 5.04
Light Purple
#BF77F6
ΔE00 5.14
Orchid
#DA70D6
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D165EC #80EC65
analogous
#8D65EC #D165EC #EC65C3
triadic
#D165EC #ECD165 #65ECD1
tetradic
#D165EC #EC8D65 #80EC65 #65C3EC
square
#D165EC #EC8D65 #80EC65 #65C3EC
split-complementary
#D165EC #C3EC65 #65EC8D
monochromatic
#9E18BF #C12FE5 #D165EC #E19BF3 #F2D2F9
Accessibility & contrast
On white
3.10
#D165EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#D165EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D165EC
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D165EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D165EC | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#D17A9F
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d165ec; /* rgb */ color: rgb(209, 101, 236); /* oklch */ color: oklch(68.8% 0.213 319.2);
Tailwind
colors: {
custom: {
50: '#e296f3',
500: '#d165ec',
950: '#000000',
},
}SCSS
$custom: #d165ec; $custom-light: #e296f3; $custom-dark: #000000;
JSON
{
"hex": "#d165ec",
"rgb": {
"r": 209,
"g": 101,
"b": 236
},
"hsl": {
"h": 288,
"s": 78.035,
"l": 66.078
},
"oklch": {
"l": 0.68768,
"c": 0.21346,
"h": 319.2
},
"luminance": 0.28919
}Semantic roles & 50–950 ramp
primary
#D165EC
secondary
#C9EDC0
accent
#DA0B35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85