#AC7DE2#AC7DE2
#AC7DE2 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.151 H 304.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AC7DE2 |
|---|---|
| RGB | rgb(172, 125, 226) |
| HSL | hsl(268, 64%, 69%) |
| HSV | hsv(268, 45%, 89%) |
| CMYK | cmyk(23.9%, 44.7%, 0%, 11.4%) |
| CIE-LAB | lab(60.72, 37.89, -44.76) |
| CIE-LCH | lch(60.72, 58.64, 310.25°) |
| OKLab | oklab(67.68% 0.0848 -0.1251) |
| OKLCH | oklch(67.68% 0.151 304.1) |
| XYZ | xyz(38.0714, 28.9290, 75.5149) |
| Luminance | 0.2893 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.39
Light Urple
#B36FF6
ΔE00 4.78
Easter Purple
#C071FE
ΔE00 5.67
Mediumpurple
#9370DB
ΔE00 5.98
Wisteria
#A87DC2
ΔE00 6.18
Liliac
#C48EFD
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC7DE2 #B3E27D
analogous
#7D81E2 #AC7DE2 #DF7DE2
triadic
#AC7DE2 #E2AC7D #7DE2AC
tetradic
#AC7DE2 #E27D81 #B3E27D #7DE2DF
square
#AC7DE2 #E27D81 #B3E27D #7DE2DF
split-complementary
#AC7DE2 #E2DF7D #81E27D
monochromatic
#6D2ABB #8C4BD7 #AC7DE2 #CCAFED #ECE1F8
Accessibility & contrast
On white
3.09
#AC7DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#AC7DE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AC7DE2
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC7DE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC7DE2 | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6291E6
Deuteranopia (green-blind)
#6E92DF
Tritanopia (blue-blind)
#A38EA5
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #ac7de2; /* rgb */ color: rgb(172, 125, 226); /* oklch */ color: oklch(67.7% 0.151 304.1);
Tailwind
colors: {
custom: {
50: '#c7a3eb',
500: '#ac7de2',
950: '#000000',
},
}SCSS
$custom: #ac7de2; $custom-light: #c7a3eb; $custom-dark: #000000;
JSON
{
"hex": "#ac7de2",
"rgb": {
"r": 172,
"g": 125,
"b": 226
},
"hsl": {
"h": 267.921,
"s": 63.522,
"l": 68.824
},
"oklch": {
"l": 0.6768,
"c": 0.15109,
"h": 304.1
},
"luminance": 0.28929
}Semantic roles & 50–950 ramp
primary
#AC7DE2
secondary
#DEECCE
accent
#CB1A79
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84