#AC8FE8#AC8FE8
#AC8FE8 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.1% C 0.130 H 298.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AC8FE8 |
|---|---|
| RGB | rgb(172, 143, 232) |
| HSL | hsl(260, 66%, 74%) |
| HSV | hsv(260, 38%, 91%) |
| CMYK | cmyk(25.9%, 38.4%, 0%, 9%) |
| CIE-LAB | lab(65.15, 29.21, -41.12) |
| CIE-LCH | lch(65.15, 50.44, 305.39°) |
| OKLab | oklab(71.12% 0.061 -0.1146) |
| OKLCH | oklch(71.12% 0.13 298) |
| XYZ | xyz(41.3978, 34.2414, 80.7565) |
| Luminance | 0.3424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.14
Pale Purple
#B790D4
ΔE00 5.75
Lavender
#B39DDB
ΔE00 5.97
Baby Purple
#CA9BF7
ΔE00 6.01
Lavender (survey)
#C79FEF
ΔE00 6.30
Pastel Purple
#CAA0FF
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC8FE8 #CBE88F
analogous
#8F9EE8 #AC8FE8 #D98FE8
triadic
#AC8FE8 #E8AC8F #8FE8AC
tetradic
#AC8FE8 #E88F9E #CBE88F #8FE8D9
square
#AC8FE8 #E88F9E #CBE88F #8FE8D9
split-complementary
#AC8FE8 #E8D98F #9EE88F
monochromatic
#612BD2 #865CDE #AC8FE8 #D2C2F2 #ECE6FA
Accessibility & contrast
On white
2.68
#AC8FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#AC8FE8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC8FE8
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC8FE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC8FE8 | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#789EEB
Deuteranopia (green-blind)
#7D9DE6
Tritanopia (blue-blind)
#A09EB1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ac8fe8; /* rgb */ color: rgb(172, 143, 232); /* oklch */ color: oklch(71.1% 0.130 298.0);
Tailwind
colors: {
custom: {
50: '#c6b0ef',
500: '#ac8fe8',
950: '#000000',
},
}SCSS
$custom: #ac8fe8; $custom-light: #c6b0ef; $custom-dark: #000000;
JSON
{
"hex": "#ac8fe8",
"rgb": {
"r": 172,
"g": 143,
"b": 232
},
"hsl": {
"h": 259.551,
"s": 65.926,
"l": 73.529
},
"oklch": {
"l": 0.7112,
"c": 0.12978,
"h": 298
},
"luminance": 0.34242
}Semantic roles & 50–950 ramp
primary
#AC8FE8
secondary
#EAF1DA
accent
#CE1892
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84