#AC8CF6#AC8CF6
#AC8CF6 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.3% C 0.153 H 296.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AC8CF6 |
|---|---|
| RGB | rgb(172, 140, 246) |
| HSL | hsl(258, 85%, 76%) |
| HSV | hsv(258, 43%, 96%) |
| CMYK | cmyk(30.1%, 43.1%, 0%, 3.5%) |
| CIE-LAB | lab(65.11, 34.31, -48.90) |
| CIE-LCH | lch(65.11, 59.73, 305.06°) |
| OKLab | oklab(71.3% 0.0675 -0.1371) |
| OKLCH | oklch(71.3% 0.153 296.2) |
| XYZ | xyz(43.0218, 34.1801, 91.5017) |
| Luminance | 0.3418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.58
Perrywinkle
#8F8CE7
ΔE00 6.19
Periwinkle (survey)
#8E82FE
ΔE00 6.52
Lavender Blue
#8B88F8
ΔE00 6.79
Light Purple
#BF77F6
ΔE00 6.79
Baby Purple
#CA9BF7
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC8CF6 #D6F68C
analogous
#8CA1F6 #AC8CF6 #E18CF6
triadic
#AC8CF6 #F6AC8C #8CF6AC
tetradic
#AC8CF6 #F68CA1 #D6F68C #8CF6E1
square
#AC8CF6 #F68CA1 #D6F68C #8CF6E1
split-complementary
#AC8CF6 #F6E18C #A1F68C
monochromatic
#5A1AED #8353F2 #AC8CF6 #D5C5FA #EBE3FD
Accessibility & contrast
On white
2.68
#AC8CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#AC8CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC8CF6
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC8CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC8CF6 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9FFA
Deuteranopia (green-blind)
#729DF3
Tritanopia (blue-blind)
#9C9FB5
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ac8cf6; /* rgb */ color: rgb(172, 140, 246); /* oklch */ color: oklch(71.3% 0.153 296.2);
Tailwind
colors: {
custom: {
50: '#c7aef9',
500: '#ac8cf6',
950: '#000000',
},
}SCSS
$custom: #ac8cf6; $custom-light: #c7aef9; $custom-dark: #000000;
JSON
{
"hex": "#ac8cf6",
"rgb": {
"r": 172,
"g": 140,
"b": 246
},
"hsl": {
"h": 258.113,
"s": 85.484,
"l": 75.686
},
"oklch": {
"l": 0.71297,
"c": 0.15286,
"h": 296.2
},
"luminance": 0.34181
}Semantic roles & 50–950 ramp
primary
#AC8CF6
secondary
#ECF5D6
accent
#E2049F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85