#D17BFE#D17BFE
#D17BFE is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.7% C 0.199 H 312.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #D17BFE |
|---|---|
| RGB | rgb(209, 123, 254) |
| HSL | hsl(279, 98%, 74%) |
| HSV | hsv(279, 52%, 100%) |
| CMYK | cmyk(17.7%, 51.6%, 0%, 0.4%) |
| CIE-LAB | lab(65.65, 55.04, -52.17) |
| CIE-LCH | lch(65.65, 75.84, 316.53°) |
| OKLab | oklab(72.69% 0.1348 -0.1457) |
| OKLCH | oklch(72.69% 0.199 312.8) |
| XYZ | xyz(51.2638, 34.8782, 97.7784) |
| Luminance | 0.3488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.27
Easter Purple
#C071FE
ΔE00 3.95
Liliac
#C48EFD
ΔE00 5.00
Bright Lavender
#C760FF
ΔE00 5.99
Light Urple
#B36FF6
ΔE00 6.10
Bright Lilac
#C95EFB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17BFE #A8FE7B
analogous
#907BFE #D17BFE #FE7BEA
triadic
#D17BFE #FED17B #7BFED1
tetradic
#D17BFE #FE907B #A8FE7B #7BEAFE
square
#D17BFE #FE907B #A8FE7B #7BEAFE
split-complementary
#D17BFE #EAFE7B #7BFE90
monochromatic
#A702FD #BC3EFE #D17BFE #E6B8FE #F4E1FF
Accessibility & contrast
On white
2.63
#D17BFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#D17BFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17BFE
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17BFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17BFE | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#75A1FB
Tritanopia (blue-blind)
#CD90B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #d17bfe; /* rgb */ color: rgb(209, 123, 254); /* oklch */ color: oklch(72.7% 0.199 312.8);
Tailwind
colors: {
custom: {
50: '#e2a4ff',
500: '#d17bfe',
950: '#000000',
},
}SCSS
$custom: #d17bfe; $custom-light: #e2a4ff; $custom-dark: #000000;
JSON
{
"hex": "#d17bfe",
"rgb": {
"r": 209,
"g": 123,
"b": 254
},
"hsl": {
"h": 279.389,
"s": 98.496,
"l": 73.922
},
"oklch": {
"l": 0.72693,
"c": 0.19852,
"h": 312.8
},
"luminance": 0.34877
}Semantic roles & 50–950 ramp
primary
#D17BFE
secondary
#E0F7D4
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86