#AC8EEA#AC8EEA
#AC8EEA is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.0% C 0.134 H 297.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AC8EEA |
|---|---|
| RGB | rgb(172, 142, 234) |
| HSL | hsl(260, 69%, 74%) |
| HSV | hsv(260, 39%, 92%) |
| CMYK | cmyk(26.5%, 39.3%, 0%, 8.2%) |
| CIE-LAB | lab(65.01, 30.25, -42.45) |
| CIE-LCH | lch(65.01, 52.13, 305.48°) |
| OKLab | oklab(71.04% 0.0628 -0.1184) |
| OKLCH | oklch(71.04% 0.134 297.9) |
| XYZ | xyz(41.5341, 34.0568, 82.2114) |
| Luminance | 0.3406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.92
Pale Purple
#B790D4
ΔE00 6.12
Baby Purple
#CA9BF7
ΔE00 6.12
Perrywinkle
#8F8CE7
ΔE00 6.39
Lavender
#B39DDB
ΔE00 6.46
Pastel Purple
#CAA0FF
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC8EEA #CCEA8E
analogous
#8E9EEA #AC8EEA #DA8EEA
triadic
#AC8EEA #EAAC8E #8EEAAC
tetradic
#AC8EEA #EA8E9E #CCEA8E #8EEADA
square
#AC8EEA #EA8E9E #CCEA8E #8EEADA
split-complementary
#AC8EEA #EADA8E #9EEA8E
monochromatic
#6128D6 #865AE0 #AC8EEA #D2C2F4 #ECE5FA
Accessibility & contrast
On white
2.69
#AC8EEA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#AC8EEA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC8EEA
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC8EEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC8EEA | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#A09EB1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ac8eea; /* rgb */ color: rgb(172, 142, 234); /* oklch */ color: oklch(71.0% 0.134 297.9);
Tailwind
colors: {
custom: {
50: '#c6aff1',
500: '#ac8eea',
950: '#000000',
},
}SCSS
$custom: #ac8eea; $custom-light: #c6aff1; $custom-dark: #000000;
JSON
{
"hex": "#ac8eea",
"rgb": {
"r": 172,
"g": 142,
"b": 234
},
"hsl": {
"h": 259.565,
"s": 68.657,
"l": 73.725
},
"oklch": {
"l": 0.71038,
"c": 0.13402,
"h": 297.9
},
"luminance": 0.34057
}Semantic roles & 50–950 ramp
primary
#AC8EEA
secondary
#EAF2D9
accent
#D11593
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85