#AC7EF6#AC7EF6
#AC7EF6 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.174 H 299.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AC7EF6 |
|---|---|
| RGB | rgb(172, 126, 246) |
| HSL | hsl(263, 87%, 73%) |
| HSV | hsv(263, 49%, 96%) |
| CMYK | cmyk(30.1%, 48.8%, 0%, 3.5%) |
| CIE-LAB | lab(61.95, 42.11, -53.90) |
| CIE-LCH | lch(61.95, 68.40, 308.00°) |
| OKLab | oklab(68.93% 0.0859 -0.1517) |
| OKLCH | oklch(68.93% 0.174 299.5) |
| XYZ | xyz(41.1047, 30.3459, 90.8627) |
| Luminance | 0.3035 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.94
Light Purple
#BF77F6
ΔE00 4.07
Easter Purple
#C071FE
ΔE00 4.68
Liliac
#C48EFD
ΔE00 5.69
Mediumpurple
#9370DB
ΔE00 6.52
Periwinkle (survey)
#8E82FE
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC7EF6 #C8F67E
analogous
#7E8CF6 #AC7EF6 #E87EF6
triadic
#AC7EF6 #F6AC7E #7EF6AC
tetradic
#AC7EF6 #F67E8C #C8F67E #7EF6E8
square
#AC7EF6 #F67E8C #C8F67E #7EF6E8
split-complementary
#AC7EF6 #F6E87E #8CF67E
monochromatic
#6310E9 #8745F2 #AC7EF6 #D1B7FA #EDE2FD
Accessibility & contrast
On white
2.97
#AC7EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#AC7EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC7EF6
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC7EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC7EF6 | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5695FA
Deuteranopia (green-blind)
#6295F3
Tritanopia (blue-blind)
#9D94AF
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ac7ef6; /* rgb */ color: rgb(172, 126, 246); /* oklch */ color: oklch(68.9% 0.174 299.5);
Tailwind
colors: {
custom: {
50: '#c8a4fa',
500: '#ac7ef6',
950: '#000000',
},
}SCSS
$custom: #ac7ef6; $custom-light: #c8a4fa; $custom-dark: #000000;
JSON
{
"hex": "#ac7ef6",
"rgb": {
"r": 172,
"g": 126,
"b": 246
},
"hsl": {
"h": 263,
"s": 86.957,
"l": 72.941
},
"oklch": {
"l": 0.68931,
"c": 0.17431,
"h": 299.5
},
"luminance": 0.30346
}Semantic roles & 50–950 ramp
primary
#AC7EF6
secondary
#E9F5D6
accent
#E4028D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85