#AC8CFD#AC8CFD
#AC8CFD is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.7% C 0.162 H 295.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AC8CFD |
|---|---|
| RGB | rgb(172, 140, 253) |
| HSL | hsl(257, 97%, 77%) |
| HSV | hsv(257, 45%, 99%) |
| CMYK | cmyk(32%, 44.7%, 0%, 0.8%) |
| CIE-LAB | lab(65.45, 36.05, -52.19) |
| CIE-LCH | lch(65.45, 63.43, 304.64°) |
| OKLab | oklab(71.67% 0.0686 -0.1467) |
| OKLCH | oklch(71.67% 0.162 295) |
| XYZ | xyz(44.1165, 34.6180, 97.2671) |
| Luminance | 0.3462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.84
Periwinkle (survey)
#8E82FE
ΔE00 6.03
Perrywinkle
#8F8CE7
ΔE00 6.32
Lavender Blue
#8B88F8
ΔE00 6.42
Light Purple
#BF77F6
ΔE00 6.96
Pastel Purple
#CAA0FF
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC8CFD #DDFD8C
analogous
#8CA5FD #AC8CFD #E48CFD
triadic
#AC8CFD #FDAC8C #8CFDAC
tetradic
#AC8CFD #FD8CA5 #DDFD8C #8CFDE4
square
#AC8CFD #FD8CA5 #DDFD8C #8CFDE4
split-complementary
#AC8CFD #FDE48C #A5FD8C
monochromatic
#5514FB #8150FC #AC8CFD #D7C8FE #E9E1FE
Accessibility & contrast
On white
2.65
#AC8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#AC8CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC8CFD
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC8CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC8CFD | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#9AA1B8
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ac8cfd; /* rgb */ color: rgb(172, 140, 253); /* oklch */ color: oklch(71.7% 0.162 295.0);
Tailwind
colors: {
custom: {
50: '#c8aefe',
500: '#ac8cfd',
950: '#000000',
},
}SCSS
$custom: #ac8cfd; $custom-light: #c8aefe; $custom-dark: #000000;
JSON
{
"hex": "#ac8cfd",
"rgb": {
"r": 172,
"g": 140,
"b": 253
},
"hsl": {
"h": 256.991,
"s": 96.581,
"l": 77.059
},
"oklch": {
"l": 0.71669,
"c": 0.16194,
"h": 295
},
"luminance": 0.34619
}Semantic roles & 50–950 ramp
primary
#AC8CFD
secondary
#EDF7D4
accent
#E600A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86