#AC7EFE#AC7EFE
#AC7EFE is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.184 H 298.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AC7EFE |
|---|---|
| RGB | rgb(172, 126, 254) |
| HSL | hsl(262, 98%, 75%) |
| HSV | hsv(262, 50%, 100%) |
| CMYK | cmyk(32.3%, 50.4%, 0%, 0.4%) |
| CIE-LAB | lab(62.38, 44.08, -57.62) |
| CIE-LCH | lch(62.38, 72.54, 307.42°) |
| OKLab | oklab(69.39% 0.0866 -0.1626) |
| OKLCH | oklch(69.39% 0.184 298) |
| XYZ | xyz(42.3591, 30.8477, 97.4692) |
| Luminance | 0.3085 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.20
Light Purple
#BF77F6
ΔE00 4.52
Easter Purple
#C071FE
ΔE00 4.77
Liliac
#C48EFD
ΔE00 5.95
Periwinkle (survey)
#8E82FE
ΔE00 6.06
Mediumpurple
#9370DB
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC7EFE #D0FE7E
analogous
#7E90FE #AC7EFE #EC7EFE
triadic
#AC7EFE #FEAC7E #7EFEAC
tetradic
#AC7EFE #FE7E90 #D0FE7E #7EFEEC
square
#AC7EFE #FE7E90 #D0FE7E #7EFEEC
split-complementary
#AC7EFE #FEEC7E #90FE7E
monochromatic
#5E05FD #8541FE #AC7EFE #D3BBFE #EBE1FF
Accessibility & contrast
On white
2.93
#AC7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#AC7EFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC7EFE
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC7EFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC7EFE | 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)
#5097FF
Deuteranopia (green-blind)
#5B96FB
Tritanopia (blue-blind)
#9A97B2
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #ac7efe; /* rgb */ color: rgb(172, 126, 254); /* oklch */ color: oklch(69.4% 0.184 298.0);
Tailwind
colors: {
custom: {
50: '#c8a4ff',
500: '#ac7efe',
950: '#000000',
},
}SCSS
$custom: #ac7efe; $custom-light: #c8a4ff; $custom-dark: #000000;
JSON
{
"hex": "#ac7efe",
"rgb": {
"r": 172,
"g": 126,
"b": 254
},
"hsl": {
"h": 261.563,
"s": 98.462,
"l": 74.51
},
"oklch": {
"l": 0.69388,
"c": 0.18418,
"h": 298
},
"luminance": 0.30848
}Semantic roles & 50–950 ramp
primary
#AC7EFE
secondary
#EAF7D4
accent
#E60093
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86