#AC9DF2#AC9DF2
#AC9DF2 is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.2% C 0.121 H 291.2°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AC9DF2 |
|---|---|
| RGB | rgb(172, 157, 242) |
| HSL | hsl(251, 77%, 78%) |
| HSV | hsv(251, 35%, 95%) |
| CMYK | cmyk(28.9%, 35.1%, 0%, 5.1%) |
| CIE-LAB | lab(68.96, 23.74, -40.65) |
| CIE-LCH | lch(68.96, 47.07, 300.29°) |
| OKLab | oklab(74.17% 0.044 -0.1132) |
| OKLCH | oklch(74.17% 0.121 291.2) |
| XYZ | xyz(45.0932, 39.2946, 89.1960) |
| Luminance | 0.3930 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 5.73
Pastel Purple
#CAA0FF
ΔE00 6.06
Lavender (survey)
#C79FEF
ΔE00 6.50
Perrywinkle
#8F8CE7
ΔE00 6.58
Baby Purple
#CA9BF7
ΔE00 6.75
Lilac (survey)
#CEA2FD
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC9DF2 #E3F29D
analogous
#9DB8F2 #AC9DF2 #D69DF2
triadic
#AC9DF2 #F2AC9D #9DF2AC
tetradic
#AC9DF2 #F29DB8 #E3F29D #9DF2D6
square
#AC9DF2 #F29DB8 #E3F29D #9DF2D6
split-complementary
#AC9DF2 #F2D69D #B8F29D
monochromatic
#5031E4 #7E67EB #AC9DF2 #DAD3F9 #E8E4FB
Accessibility & contrast
On white
2.37
#AC9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.86
#AC9DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC9DF2
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC9DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC9DF2 | 1.00 | 2.37 | 8.86 | 8.86 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85AAF5
Deuteranopia (green-blind)
#86A7F0
Tritanopia (blue-blind)
#9CACBC
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #ac9df2; /* rgb */ color: rgb(172, 157, 242); /* oklch */ color: oklch(74.2% 0.121 291.2);
Tailwind
colors: {
custom: {
50: '#c6baf6',
500: '#ac9df2',
950: '#000000',
},
}SCSS
$custom: #ac9df2; $custom-light: #c6baf6; $custom-dark: #000000;
JSON
{
"hex": "#ac9df2",
"rgb": {
"r": 172,
"g": 157,
"b": 242
},
"hsl": {
"h": 250.588,
"s": 76.577,
"l": 78.235
},
"oklch": {
"l": 0.74169,
"c": 0.12148,
"h": 291.2
},
"luminance": 0.39295
}Semantic roles & 50–950 ramp
primary
#AC9DF2
secondary
#EEF3D8
accent
#D90DB5
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085