#AC7CFA#AC7CFA
#AC7CFA is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.8% C 0.182 H 299.1°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AC7CFA |
|---|---|
| RGB | rgb(172, 124, 250) |
| HSL | hsl(263, 93%, 73%) |
| HSV | hsv(263, 50%, 98%) |
| CMYK | cmyk(31.2%, 50.4%, 0%, 2%) |
| CIE-LAB | lab(61.73, 44.19, -56.45) |
| CIE-LCH | lch(61.73, 71.69, 308.06°) |
| OKLab | oklab(68.84% 0.0888 -0.1592) |
| OKLCH | oklch(68.84% 0.182 299.1) |
| XYZ | xyz(41.4721, 30.0877, 94.0465) |
| Luminance | 0.3009 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.56
Light Purple
#BF77F6
ΔE00 4.06
Easter Purple
#C071FE
ΔE00 4.36
Liliac
#C48EFD
ΔE00 6.13
Periwinkle (survey)
#8E82FE
ΔE00 6.43
Mediumpurple
#9370DB
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC7CFA #CAFA7C
analogous
#7C8BFA #AC7CFA #EB7CFA
triadic
#AC7CFA #FAAC7C #7CFAAC
tetradic
#AC7CFA #FA7C8B #CAFA7C #7CFAEB
square
#AC7CFA #FA7C8B #CAFA7C #7CFAEB
split-complementary
#AC7CFA #FAEB7C #8BFA7C
monochromatic
#6209F2 #8741F8 #AC7CFA #D1B7FC #ECE2FE
Accessibility & contrast
On white
2.99
#AC7CFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#AC7CFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AC7CFA
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC7CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC7CFA | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F95FE
Deuteranopia (green-blind)
#5C94F7
Tritanopia (blue-blind)
#9C94B0
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ac7cfa; /* rgb */ color: rgb(172, 124, 250); /* oklch */ color: oklch(68.8% 0.182 299.1);
Tailwind
colors: {
custom: {
50: '#c8a3fc',
500: '#ac7cfa',
950: '#000000',
},
}SCSS
$custom: #ac7cfa; $custom-light: #c8a3fc; $custom-dark: #000000;
JSON
{
"hex": "#ac7cfa",
"rgb": {
"r": 172,
"g": 124,
"b": 250
},
"hsl": {
"h": 262.857,
"s": 92.647,
"l": 73.333
},
"oklch": {
"l": 0.68835,
"c": 0.18225,
"h": 299.1
},
"luminance": 0.30088
}Semantic roles & 50–950 ramp
primary
#AC7CFA
secondary
#E9F6D5
accent
#E6008E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86