#AC8CD7#AC8CD7
#AC8CD7 is a light, moderate violet. Relative luminance 0.324; OKLCH L 69.8% C 0.112 H 303.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AC8CD7 |
|---|---|
| RGB | rgb(172, 140, 215) |
| HSL | hsl(266, 48%, 70%) |
| HSV | hsv(266, 35%, 84%) |
| CMYK | cmyk(20%, 34.9%, 0%, 15.7%) |
| CIE-LAB | lab(63.70, 26.91, -33.96) |
| CIE-LCH | lch(63.70, 43.33, 308.40°) |
| OKLab | oklab(69.77% 0.0615 -0.0939) |
| OKLCH | oklch(69.77% 0.112 303.2) |
| XYZ | xyz(38.6545, 32.4332, 68.5006) |
| Luminance | 0.3243 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.13
Lavender
#B39DDB
ΔE00 5.03
Wisteria
#A87DC2
ΔE00 5.34
Lavender (survey)
#C79FEF
ΔE00 6.49
Liliac
#C48EFD
ΔE00 6.84
Baby Purple
#CA9BF7
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC8CD7 #B7D78C
analogous
#8C92D7 #AC8CD7 #D28CD7
triadic
#AC8CD7 #D7AC8C #8CD7AC
tetradic
#AC8CD7 #D78C92 #B7D78C #8CD7D2
square
#AC8CD7 #D78C92 #B7D78C #8CD7D2
split-complementary
#AC8CD7 #D7D28C #92D78C
monochromatic
#6C3CAD #8B5FC7 #AC8CD7 #CDB9E7 #EEE7F7
Accessibility & contrast
On white
2.81
#AC8CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.49
#AC8CD7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC8CD7
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC8CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC8CD7 | 1.00 | 2.81 | 7.49 | 7.49 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B9ADA
Deuteranopia (green-blind)
#829AD5
Tritanopia (blue-blind)
#A598A8
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ac8cd7; /* rgb */ color: rgb(172, 140, 215); /* oklch */ color: oklch(69.8% 0.112 303.2);
Tailwind
colors: {
custom: {
50: '#c6aee3',
500: '#ac8cd7',
950: '#000000',
},
}SCSS
$custom: #ac8cd7; $custom-light: #c6aee3; $custom-dark: #000000;
JSON
{
"hex": "#ac8cd7",
"rgb": {
"r": 172,
"g": 140,
"b": 215
},
"hsl": {
"h": 265.6,
"s": 48.387,
"l": 69.608
},
"oklch": {
"l": 0.6977,
"c": 0.11229,
"h": 303.2
},
"luminance": 0.32433
}Semantic roles & 50–950 ramp
primary
#AC8CD7
secondary
#E1EAD5
accent
#BC2A7D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83