#AC98CA#AC98CA
#AC98CA is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.5% C 0.075 H 302.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AC98CA |
|---|---|
| RGB | rgb(172, 152, 202) |
| HSL | hsl(264, 32%, 69%) |
| HSV | hsv(264, 25%, 79%) |
| CMYK | cmyk(14.9%, 24.8%, 0%, 20.8%) |
| CIE-LAB | lab(66.13, 17.22, -22.97) |
| CIE-LCH | lch(66.13, 28.71, 306.86°) |
| OKLab | oklab(71.47% 0.0405 -0.0628) |
| OKLCH | oklch(71.47% 0.075 302.8) |
| XYZ | xyz(38.9000, 35.4914, 60.6669) |
| Luminance | 0.3549 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.41
Pale Purple
#B790D4
ΔE00 4.98
Heather
#A484AC
ΔE00 7.56
Lilac
#C8A2C8
ΔE00 7.68
Lavender (survey)
#C79FEF
ΔE00 7.69
Wisteria
#A87DC2
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC98CA #B6CA98
analogous
#989DCA #AC98CA #C598CA
triadic
#AC98CA #CAAC98 #98CAAC
tetradic
#AC98CA #CA989D #B6CA98 #98CAC5
square
#AC98CA #CA989D #B6CA98 #98CAC5
split-complementary
#AC98CA #CAC598 #9DCA98
monochromatic
#6C4F99 #8B70B5 #AC98CA #CDC0DF #EDE9F4
Accessibility & contrast
On white
2.59
#AC98CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#AC98CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC98CA
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC98CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC98CA | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EA0CC
Deuteranopia (green-blind)
#92A1C9
Tritanopia (blue-blind)
#A79FA9
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #ac98ca; /* rgb */ color: rgb(172, 152, 202); /* oklch */ color: oklch(71.5% 0.075 302.8);
Tailwind
colors: {
custom: {
50: '#c5b6da',
500: '#ac98ca',
950: '#000000',
},
}SCSS
$custom: #ac98ca; $custom-light: #c5b6da; $custom-dark: #000000;
JSON
{
"hex": "#ac98ca",
"rgb": {
"r": 172,
"g": 152,
"b": 202
},
"hsl": {
"h": 264,
"s": 32.051,
"l": 69.412
},
"oklch": {
"l": 0.71465,
"c": 0.0747,
"h": 302.8
},
"luminance": 0.35491
}Semantic roles & 50–950 ramp
primary
#AC98CA
secondary
#E0E6D8
accent
#AB3B7E
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083