#D163E4#D163E4
#D163E4 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.1% C 0.209 H 321.5°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #D163E4 |
|---|---|
| RGB | rgb(209, 99, 228) |
| HSL | hsl(291, 70%, 64%) |
| HSV | hsv(291, 57%, 89%) |
| CMYK | cmyk(8.3%, 56.6%, 0%, 10.6%) |
| CIE-LAB | lab(59.96, 61.57, -46.79) |
| CIE-LCH | lch(59.96, 77.33, 322.77°) |
| OKLab | oklab(68.09% 0.1636 -0.1299) |
| OKLCH | oklch(68.09% 0.209 321.5) |
| XYZ | xyz(44.7584, 28.0825, 76.4466) |
| Luminance | 0.2808 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.70
Bright Lilac
#C95EFB
ΔE00 4.37
Orchid
#DA70D6
ΔE00 4.85
Pinkish Purple
#D648D7
ΔE00 4.86
Bright Lavender
#C760FF
ΔE00 5.01
Mediumorchid
#BA55D3
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D163E4 #76E463
analogous
#9163E4 #D163E4 #E463B7
triadic
#D163E4 #E4D163 #63E4D1
tetradic
#D163E4 #E49163 #76E463 #63B7E4
square
#D163E4 #E49163 #76E463 #63B7E4
split-complementary
#D163E4 #B7E463 #63E491
monochromatic
#991EAE #C22FDB #D163E4 #E097ED #F0CBF6
Accessibility & contrast
On white
3.17
#D163E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#D163E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D163E4
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D163E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D163E4 | 1.00 | 3.17 | 6.62 | 6.62 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B88E8
Deuteranopia (green-blind)
#7195E1
Tritanopia (blue-blind)
#D3769A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #d163e4; /* rgb */ color: rgb(209, 99, 228); /* oklch */ color: oklch(68.1% 0.209 321.5);
Tailwind
colors: {
custom: {
50: '#e295ed',
500: '#d163e4',
950: '#000000',
},
}SCSS
$custom: #d163e4; $custom-light: #e295ed; $custom-dark: #000000;
JSON
{
"hex": "#d163e4",
"rgb": {
"r": 209,
"g": 99,
"b": 228
},
"hsl": {
"h": 291.163,
"s": 70.492,
"l": 64.118
},
"oklch": {
"l": 0.6809,
"c": 0.20889,
"h": 321.5
},
"luminance": 0.2808
}Semantic roles & 50–950 ramp
primary
#D163E4
secondary
#C2E8BB
accent
#D3132F
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84