#AD7EFC#AD7EFC
#AD7EFC is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.182 H 298.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AD7EFC |
|---|---|
| RGB | rgb(173, 126, 252) |
| HSL | hsl(262, 95%, 74%) |
| HSV | hsv(262, 50%, 99%) |
| CMYK | cmyk(31.3%, 50%, 0%, 1.2%) |
| CIE-LAB | lab(62.37, 43.84, -56.53) |
| CIE-LCH | lch(62.37, 71.54, 307.79°) |
| OKLab | oklab(69.37% 0.0876 -0.1594) |
| OKLCH | oklch(69.37% 0.182 298.8) |
| XYZ | xyz(42.2609, 30.8338, 95.8016) |
| Luminance | 0.3083 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.02
Light Purple
#BF77F6
ΔE00 4.21
Easter Purple
#C071FE
ΔE00 4.57
Liliac
#C48EFD
ΔE00 5.73
Periwinkle (survey)
#8E82FE
ΔE00 6.34
Mediumpurple
#9370DB
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD7EFC #CDFC7E
analogous
#7E8EFC #AD7EFC #EC7EFC
triadic
#AD7EFC #FCAD7E #7EFCAD
tetradic
#AD7EFC #FC7E8E #CDFC7E #7EFCEC
square
#AD7EFC #FC7E8E #CDFC7E #7EFCEC
split-complementary
#AD7EFC #FCEC7E #8EFC7E
monochromatic
#6106F9 #8742FB #AD7EFC #D3BAFD #ECE1FE
Accessibility & contrast
On white
2.93
#AD7EFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#AD7EFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AD7EFC
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD7EFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AD7EFC | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#5E96F9
Tritanopia (blue-blind)
#9C96B1
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #ad7efc; /* rgb */ color: rgb(173, 126, 252); /* oklch */ color: oklch(69.4% 0.182 298.8);
Tailwind
colors: {
custom: {
50: '#c9a4fe',
500: '#ad7efc',
950: '#000000',
},
}SCSS
$custom: #ad7efc; $custom-light: #c9a4fe; $custom-dark: #000000;
JSON
{
"hex": "#ad7efc",
"rgb": {
"r": 173,
"g": 126,
"b": 252
},
"hsl": {
"h": 262.381,
"s": 95.455,
"l": 74.118
},
"oklch": {
"l": 0.69366,
"c": 0.18187,
"h": 298.8
},
"luminance": 0.30834
}Semantic roles & 50–950 ramp
primary
#AD7EFC
secondary
#EAF7D4
accent
#E60090
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86