#D07AFE#D07AFE
#D07AFE is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.4% C 0.200 H 312.5°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #D07AFE |
|---|---|
| RGB | rgb(208, 122, 254) |
| HSL | hsl(279, 99%, 74%) |
| HSV | hsv(279, 52%, 100%) |
| CMYK | cmyk(18.1%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(65.35, 55.29, -52.67) |
| CIE-LCH | lch(65.35, 76.36, 316.39°) |
| OKLab | oklab(72.44% 0.1349 -0.1472) |
| OKLCH | oklch(72.44% 0.2 312.5) |
| XYZ | xyz(50.8582, 34.4859, 97.7240) |
| Luminance | 0.3448 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.04
Easter Purple
#C071FE
ΔE00 3.66
Liliac
#C48EFD
ΔE00 5.11
Bright Lavender
#C760FF
ΔE00 5.71
Light Urple
#B36FF6
ΔE00 5.83
Bright Lilac
#C95EFB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D07AFE #A8FE7A
analogous
#8E7AFE #D07AFE #FE7AEA
triadic
#D07AFE #FED07A #7AFED0
tetradic
#D07AFE #FE8E7A #A8FE7A #7AEAFE
square
#D07AFE #FE8E7A #A8FE7A #7AEAFE
split-complementary
#D07AFE #EAFE7A #7AFE8E
monochromatic
#A502FC #BB3DFE #D07AFE #E5B7FE #F4E1FF
Accessibility & contrast
On white
2.66
#D07AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#D07AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D07AFE
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D07AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D07AFE | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#74A1FB
Tritanopia (blue-blind)
#CB90B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #d07afe; /* rgb */ color: rgb(208, 122, 254); /* oklch */ color: oklch(72.4% 0.200 312.5);
Tailwind
colors: {
custom: {
50: '#e1a3ff',
500: '#d07afe',
950: '#000000',
},
}SCSS
$custom: #d07afe; $custom-light: #e1a3ff; $custom-dark: #000000;
JSON
{
"hex": "#d07afe",
"rgb": {
"r": 208,
"g": 122,
"b": 254
},
"hsl": {
"h": 279.091,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.72441,
"c": 0.19967,
"h": 312.5
},
"luminance": 0.34485
}Semantic roles & 50–950 ramp
primary
#D07AFE
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86