#AC7EF7#AC7EF7
#AC7EF7 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.0% C 0.176 H 299.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #AC7EF7 |
|---|---|
| RGB | rgb(172, 126, 247) |
| HSL | hsl(263, 88%, 73%) |
| HSV | hsv(263, 49%, 97%) |
| CMYK | cmyk(30.4%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(62.00, 42.36, -54.36) |
| CIE-LCH | lch(62.00, 68.92, 307.93°) |
| OKLab | oklab(68.99% 0.086 -0.1531) |
| OKLCH | oklch(68.99% 0.176 299.3) |
| XYZ | xyz(41.2586, 30.4075, 91.6732) |
| Luminance | 0.3041 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.95
Light Purple
#BF77F6
ΔE00 4.11
Easter Purple
#C071FE
ΔE00 4.67
Liliac
#C48EFD
ΔE00 5.71
Periwinkle (survey)
#8E82FE
ΔE00 6.46
Mediumpurple
#9370DB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC7EF7 #C9F77E
analogous
#7E8CF7 #AC7EF7 #E87EF7
triadic
#AC7EF7 #F7AC7E #7EF7AC
tetradic
#AC7EF7 #F77E8C #C9F77E #7EF7E8
square
#AC7EF7 #F77E8C #C9F77E #7EF7E8
split-complementary
#AC7EF7 #F7E87E #8CF77E
monochromatic
#630FEC #8744F3 #AC7EF7 #D1B8FB #ECE2FD
Accessibility & contrast
On white
2.97
#AC7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#AC7EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC7EF7
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC7EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC7EF7 | 1.00 | 2.97 | 7.08 | 7.08 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5596FB
Deuteranopia (green-blind)
#6195F4
Tritanopia (blue-blind)
#9D95AF
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ac7ef7; /* rgb */ color: rgb(172, 126, 247); /* oklch */ color: oklch(69.0% 0.176 299.3);
Tailwind
colors: {
custom: {
50: '#c8a4fa',
500: '#ac7ef7',
950: '#000000',
},
}SCSS
$custom: #ac7ef7; $custom-light: #c8a4fa; $custom-dark: #000000;
JSON
{
"hex": "#ac7ef7",
"rgb": {
"r": 172,
"g": 126,
"b": 247
},
"hsl": {
"h": 262.81,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.68987,
"c": 0.17555,
"h": 299.3
},
"luminance": 0.30408
}Semantic roles & 50–950 ramp
primary
#AC7EF7
secondary
#E9F5D6
accent
#E5018E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85