#AC7BFB#AC7BFB
#AC7BFB is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.7% C 0.185 H 299.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AC7BFB |
|---|---|
| RGB | rgb(172, 123, 251) |
| HSL | hsl(263, 94%, 73%) |
| HSV | hsv(263, 51%, 98%) |
| CMYK | cmyk(31.5%, 51%, 0%, 1.6%) |
| CIE-LAB | lab(61.57, 44.99, -57.26) |
| CIE-LCH | lch(61.57, 72.82, 308.16°) |
| OKLab | oklab(68.73% 0.0901 -0.1615) |
| OKLCH | oklch(68.73% 0.185 299.2) |
| XYZ | xyz(41.5046, 29.9013, 94.8330) |
| Luminance | 0.2990 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.37
Light Purple
#BF77F6
ΔE00 4.04
Easter Purple
#C071FE
ΔE00 4.23
Liliac
#C48EFD
ΔE00 6.33
Periwinkle (survey)
#8E82FE
ΔE00 6.47
Mediumpurple
#9370DB
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC7BFB #CAFB7B
analogous
#7B8AFB #AC7BFB #EC7BFB
triadic
#AC7BFB #FBAC7B #7BFBAC
tetradic
#AC7BFB #FB7B8A #CAFB7B #7BFBEC
square
#AC7BFB #FB7B8A #CAFB7B #7BFBEC
split-complementary
#AC7BFB #FBEC7B #8AFB7B
monochromatic
#6207F4 #8740F9 #AC7BFB #D1B6FD #ECE1FE
Accessibility & contrast
On white
3.01
#AC7BFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#AC7BFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AC7BFB
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC7BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC7BFB | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#5A94F8
Tritanopia (blue-blind)
#9C94B0
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ac7bfb; /* rgb */ color: rgb(172, 123, 251); /* oklch */ color: oklch(68.7% 0.185 299.2);
Tailwind
colors: {
custom: {
50: '#c8a2fd',
500: '#ac7bfb',
950: '#000000',
},
}SCSS
$custom: #ac7bfb; $custom-light: #c8a2fd; $custom-dark: #000000;
JSON
{
"hex": "#ac7bfb",
"rgb": {
"r": 172,
"g": 123,
"b": 251
},
"hsl": {
"h": 262.969,
"s": 94.118,
"l": 73.333
},
"oklch": {
"l": 0.68733,
"c": 0.18497,
"h": 299.2
},
"luminance": 0.29902
}Semantic roles & 50–950 ramp
primary
#AC7BFB
secondary
#E9F6D5
accent
#E6008E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86