#AD7FF2#AD7FF2
#AD7FF2 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.168 H 300.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AD7FF2 |
|---|---|
| RGB | rgb(173, 127, 242) |
| HSL | hsl(264, 82%, 72%) |
| HSV | hsv(264, 48%, 95%) |
| CMYK | cmyk(28.5%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(62.06, 40.85, -51.51) |
| CIE-LCH | lch(62.06, 65.74, 308.42°) |
| OKLab | oklab(68.97% 0.0853 -0.1447) |
| OKLCH | oklch(68.97% 0.168 300.5) |
| XYZ | xyz(40.8463, 30.4736, 87.7173) |
| Luminance | 0.3047 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.92
Light Urple
#B36FF6
ΔE00 4.14
Easter Purple
#C071FE
ΔE00 4.80
Liliac
#C48EFD
ΔE00 5.34
Mediumpurple
#9370DB
ΔE00 6.56
Periwinkle (survey)
#8E82FE
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD7FF2 #C4F27F
analogous
#7F8BF2 #AD7FF2 #E67FF2
triadic
#AD7FF2 #F2AD7F #7FF2AD
tetradic
#AD7FF2 #F27F8B #C4F27F #7FF2E6
square
#AD7FF2 #F27F8B #C4F27F #7FF2E6
split-complementary
#AD7FF2 #F2E67F #8BF27F
monochromatic
#6717E0 #8947EC #AD7FF2 #D1B7F8 #EDE3FC
Accessibility & contrast
On white
2.96
#AD7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#AD7FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AD7FF2
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AD7FF2 | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B96F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#A094AD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ad7ff2; /* rgb */ color: rgb(173, 127, 242); /* oklch */ color: oklch(69.0% 0.168 300.5);
Tailwind
colors: {
custom: {
50: '#c8a5f7',
500: '#ad7ff2',
950: '#000000',
},
}SCSS
$custom: #ad7ff2; $custom-light: #c8a5f7; $custom-dark: #000000;
JSON
{
"hex": "#ad7ff2",
"rgb": {
"r": 173,
"g": 127,
"b": 242
},
"hsl": {
"h": 264,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.68968,
"c": 0.16799,
"h": 300.5
},
"luminance": 0.30474
}Semantic roles & 50–950 ramp
primary
#AD7FF2
secondary
#E8F4D7
accent
#DE0888
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85