#AC7EFB#AC7EFB
#AC7EFB is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.180 H 298.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AC7EFB |
|---|---|
| RGB | rgb(172, 126, 251) |
| HSL | hsl(262, 94%, 74%) |
| HSV | hsv(262, 50%, 98%) |
| CMYK | cmyk(31.5%, 49.8%, 0%, 1.6%) |
| CIE-LAB | lab(62.22, 43.34, -56.23) |
| CIE-LCH | lch(62.22, 70.99, 307.63°) |
| OKLab | oklab(69.22% 0.0863 -0.1585) |
| OKLCH | oklch(69.22% 0.18 298.6) |
| XYZ | xyz(41.8825, 30.6570, 94.9589) |
| Luminance | 0.3066 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.06
Light Purple
#BF77F6
ΔE00 4.32
Easter Purple
#C071FE
ΔE00 4.70
Liliac
#C48EFD
ΔE00 5.83
Periwinkle (survey)
#8E82FE
ΔE00 6.21
Mediumpurple
#9370DB
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC7EFB #CDFB7E
analogous
#7E8FFB #AC7EFB #EB7EFB
triadic
#AC7EFB #FBAC7E #7EFBAC
tetradic
#AC7EFB #FB7E8F #CDFB7E #7EFBEB
square
#AC7EFB #FB7E8F #CDFB7E #7EFBEB
split-complementary
#AC7EFB #FBEB7E #8FFB7E
monochromatic
#6008F7 #8643F9 #AC7EFB #D2B9FD #ECE1FE
Accessibility & contrast
On white
2.94
#AC7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#AC7EFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC7EFB
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC7EFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC7EFB | 1.00 | 2.94 | 7.13 | 7.13 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#5E95F8
Tritanopia (blue-blind)
#9B96B1
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ac7efb; /* rgb */ color: rgb(172, 126, 251); /* oklch */ color: oklch(69.2% 0.180 298.6);
Tailwind
colors: {
custom: {
50: '#c8a4fd',
500: '#ac7efb',
950: '#000000',
},
}SCSS
$custom: #ac7efb; $custom-light: #c8a4fd; $custom-dark: #000000;
JSON
{
"hex": "#ac7efb",
"rgb": {
"r": 172,
"g": 126,
"b": 251
},
"hsl": {
"h": 262.08,
"s": 93.985,
"l": 73.922
},
"oklch": {
"l": 0.69215,
"c": 0.18049,
"h": 298.6
},
"luminance": 0.30657
}Semantic roles & 50–950 ramp
primary
#AC7EFB
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86