#AC8FF2#AC8FF2
#AC8FF2 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.6% C 0.143 H 296.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AC8FF2 |
|---|---|
| RGB | rgb(172, 143, 242) |
| HSL | hsl(258, 79%, 75%) |
| HSV | hsv(258, 41%, 95%) |
| CMYK | cmyk(28.9%, 40.9%, 0%, 5.1%) |
| CIE-LAB | lab(65.61, 31.64, -45.90) |
| CIE-LCH | lch(65.61, 55.75, 304.58°) |
| OKLab | oklab(71.62% 0.0629 -0.1284) |
| OKLCH | oklch(71.62% 0.143 296.1) |
| XYZ | xyz(42.8589, 34.8259, 88.4512) |
| Luminance | 0.3483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.75
Perrywinkle
#8F8CE7
ΔE00 6.02
Baby Purple
#CA9BF7
ΔE00 6.35
Pastel Purple
#CAA0FF
ΔE00 6.42
Lavender (survey)
#C79FEF
ΔE00 7.05
Lavender Blue
#8B88F8
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC8FF2 #D5F28F
analogous
#8FA3F2 #AC8FF2 #DE8FF2
triadic
#AC8FF2 #F2AC8F #8FF2AC
tetradic
#AC8FF2 #F28FA3 #D5F28F #8FF2DE
square
#AC8FF2 #F28FA3 #D5F28F #8FF2DE
split-complementary
#AC8FF2 #F2DE8F #A3F28F
monochromatic
#5B21E5 #8358EC #AC8FF2 #D5C6F8 #EBE4FC
Accessibility & contrast
On white
2.64
#AC8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#AC8FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC8FF2
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC8FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC8FF2 | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#9DA1B5
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ac8ff2; /* rgb */ color: rgb(172, 143, 242); /* oklch */ color: oklch(71.6% 0.143 296.1);
Tailwind
colors: {
custom: {
50: '#c7b0f7',
500: '#ac8ff2',
950: '#000000',
},
}SCSS
$custom: #ac8ff2; $custom-light: #c7b0f7; $custom-dark: #000000;
JSON
{
"hex": "#ac8ff2",
"rgb": {
"r": 172,
"g": 143,
"b": 242
},
"hsl": {
"h": 257.576,
"s": 79.2,
"l": 75.49
},
"oklch": {
"l": 0.71618,
"c": 0.143,
"h": 296.1
},
"luminance": 0.34826
}Semantic roles & 50–950 ramp
primary
#AC8FF2
secondary
#EBF4D7
accent
#DB0A9E
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85