#AC7AF2#AC7AF2
#AC7AF2 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.175 H 301.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AC7AF2 |
|---|---|
| RGB | rgb(172, 122, 242) |
| HSL | hsl(265, 82%, 71%) |
| HSV | hsv(265, 50%, 95%) |
| CMYK | cmyk(28.9%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(60.87, 43.35, -53.41) |
| CIE-LCH | lch(60.87, 68.78, 309.06°) |
| OKLab | oklab(68.06% 0.0907 -0.1503) |
| OKLCH | oklch(68.06% 0.175 301.1) |
| XYZ | xyz(39.9961, 29.1004, 87.4970) |
| Luminance | 0.2910 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.97
Light Purple
#BF77F6
ΔE00 3.58
Easter Purple
#C071FE
ΔE00 4.12
Mediumpurple
#9370DB
ΔE00 5.82
Liliac
#C48EFD
ΔE00 6.35
Bright Lavender
#C760FF
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC7AF2 #C0F27A
analogous
#7A84F2 #AC7AF2 #E87AF2
triadic
#AC7AF2 #F2AC7A #7AF2AC
tetradic
#AC7AF2 #F27A84 #C0F27A #7AF2E8
square
#AC7AF2 #F27A84 #C0F27A #7AF2E8
split-complementary
#AC7AF2 #F2E87A #84F27A
monochromatic
#6816DC #8942ED #AC7AF2 #CFB2F7 #EEE3FC
Accessibility & contrast
On white
3.08
#AC7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#AC7AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AC7AF2
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC7AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC7AF2 | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#9E90AB
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #ac7af2; /* rgb */ color: rgb(172, 122, 242); /* oklch */ color: oklch(68.1% 0.175 301.1);
Tailwind
colors: {
custom: {
50: '#c8a1f7',
500: '#ac7af2',
950: '#000000',
},
}SCSS
$custom: #ac7af2; $custom-light: #c8a1f7; $custom-dark: #000000;
JSON
{
"hex": "#ac7af2",
"rgb": {
"r": 172,
"g": 122,
"b": 242
},
"hsl": {
"h": 265,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.68057,
"c": 0.17549,
"h": 301.1
},
"luminance": 0.29101
}Semantic roles & 50–950 ramp
primary
#AC7AF2
secondary
#E6F3D4
accent
#DF0785
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85