#AC8FE6#AC8FE6
#AC8FE6 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.0% C 0.127 H 298.5°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AC8FE6 |
|---|---|
| RGB | rgb(172, 143, 230) |
| HSL | hsl(260, 64%, 73%) |
| HSV | hsv(260, 38%, 90%) |
| CMYK | cmyk(25.2%, 37.8%, 0%, 9.8%) |
| CIE-LAB | lab(65.06, 28.73, -40.15) |
| CIE-LCH | lch(65.06, 49.37, 305.58°) |
| OKLab | oklab(71.02% 0.0606 -0.1118) |
| OKLCH | oklch(71.02% 0.127 298.5) |
| XYZ | xyz(41.1154, 34.1285, 79.2689) |
| Luminance | 0.3413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.30
Pale Purple
#B790D4
ΔE00 5.41
Lavender
#B39DDB
ΔE00 5.70
Baby Purple
#CA9BF7
ΔE00 6.00
Lavender (survey)
#C79FEF
ΔE00 6.19
Pastel Purple
#CAA0FF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC8FE6 #C9E68F
analogous
#8F9DE6 #AC8FE6 #D78FE6
triadic
#AC8FE6 #E6AC8F #8FE6AC
tetradic
#AC8FE6 #E68F9D #C9E68F #8FE6D7
square
#AC8FE6 #E68F9D #C9E68F #8FE6D7
split-complementary
#AC8FE6 #E6D78F #9DE68F
monochromatic
#632ECD #875DDB #AC8FE6 #D1C1F1 #ECE6F9
Accessibility & contrast
On white
2.68
#AC8FE6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#AC8FE6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC8FE6
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC8FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC8FE6 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#799EE9
Deuteranopia (green-blind)
#7E9DE4
Tritanopia (blue-blind)
#A19EB0
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ac8fe6; /* rgb */ color: rgb(172, 143, 230); /* oklch */ color: oklch(71.0% 0.127 298.5);
Tailwind
colors: {
custom: {
50: '#c6b0ee',
500: '#ac8fe6',
950: '#000000',
},
}SCSS
$custom: #ac8fe6; $custom-light: #c6b0ee; $custom-dark: #000000;
JSON
{
"hex": "#ac8fe6",
"rgb": {
"r": 172,
"g": 143,
"b": 230
},
"hsl": {
"h": 260,
"s": 63.504,
"l": 73.137
},
"oklch": {
"l": 0.71022,
"c": 0.12715,
"h": 298.5
},
"luminance": 0.34129
}Semantic roles & 50–950 ramp
primary
#AC8FE6
secondary
#E9F1DA
accent
#CB1A90
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84