#AD7AFC#AD7AFC
#AD7AFC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.188 H 299.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AD7AFC |
|---|---|
| RGB | rgb(173, 122, 252) |
| HSL | hsl(264, 96%, 73%) |
| HSV | hsv(264, 52%, 99%) |
| CMYK | cmyk(31.3%, 51.6%, 0%, 1.2%) |
| CIE-LAB | lab(61.51, 46.02, -57.90) |
| CIE-LCH | lch(61.51, 73.96, 308.48°) |
| OKLab | oklab(68.73% 0.0927 -0.1634) |
| OKLCH | oklch(68.73% 0.188 299.6) |
| XYZ | xyz(41.7596, 29.8313, 95.6345) |
| Luminance | 0.2983 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.12
Light Purple
#BF77F6
ΔE00 3.87
Easter Purple
#C071FE
ΔE00 3.95
Liliac
#C48EFD
ΔE00 6.41
Mediumpurple
#9370DB
ΔE00 6.62
Periwinkle (survey)
#8E82FE
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD7AFC #C9FC7A
analogous
#7A88FC #AD7AFC #EE7AFC
triadic
#AD7AFC #FCAD7A #7AFCAD
tetradic
#AD7AFC #FC7A88 #C9FC7A #7AFCEE
square
#AD7AFC #FC7A88 #C9FC7A #7AFCEE
split-complementary
#AD7AFC #FCEE7A #88FC7A
monochromatic
#6406F6 #883EFB #AD7AFC #D2B6FD #EDE1FE
Accessibility & contrast
On white
3.01
#AD7AFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#AD7AFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AD7AFC
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD7AFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AD7AFC | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#9D93B0
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ad7afc; /* rgb */ color: rgb(173, 122, 252); /* oklch */ color: oklch(68.7% 0.188 299.6);
Tailwind
colors: {
custom: {
50: '#c9a2fe',
500: '#ad7afc',
950: '#000000',
},
}SCSS
$custom: #ad7afc; $custom-light: #c9a2fe; $custom-dark: #000000;
JSON
{
"hex": "#ad7afc",
"rgb": {
"r": 173,
"g": 122,
"b": 252
},
"hsl": {
"h": 263.538,
"s": 95.588,
"l": 73.333
},
"oklch": {
"l": 0.68729,
"c": 0.18782,
"h": 299.6
},
"luminance": 0.29832
}Semantic roles & 50–950 ramp
primary
#AD7AFC
secondary
#E9F7D4
accent
#E6008B
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F18
muted
#827F86