#A792E6#A792E6
#A792E6 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.1% C 0.122 H 294.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A792E6 |
|---|---|
| RGB | rgb(167, 146, 230) |
| HSL | hsl(255, 63%, 74%) |
| HSV | hsv(255, 37%, 90%) |
| CMYK | cmyk(27.4%, 36.5%, 0%, 9.8%) |
| CIE-LAB | lab(65.35, 25.60, -39.74) |
| CIE-LCH | lch(65.35, 47.28, 302.79°) |
| OKLab | oklab(71.13% 0.0507 -0.1107) |
| OKLCH | oklch(71.13% 0.122 294.6) |
| XYZ | xyz(40.4947, 34.4859, 79.3706) |
| Luminance | 0.3449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.47
Lavender
#B39DDB
ΔE00 5.54
Pale Purple
#B790D4
ΔE00 6.39
Liliac
#C48EFD
ΔE00 6.54
Lavender (survey)
#C79FEF
ΔE00 6.82
Baby Purple
#CA9BF7
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A792E6 #D1E692
analogous
#92A7E6 #A792E6 #D192E6
triadic
#A792E6 #E6A792 #92E6A7
tetradic
#A792E6 #E692A7 #D1E692 #92E6D1
square
#A792E6 #E692A7 #D1E692 #92E6D1
split-complementary
#A792E6 #E6D192 #A7E692
monochromatic
#572FCE #7F60DB #A792E6 #CFC4F1 #EBE6F9
Accessibility & contrast
On white
2.66
#A792E6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#A792E6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A792E6
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A792E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A792E6 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B9FE9
Deuteranopia (green-blind)
#7E9DE4
Tritanopia (blue-blind)
#9AA1B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a792e6; /* rgb */ color: rgb(167, 146, 230); /* oklch */ color: oklch(71.1% 0.122 294.6);
Tailwind
colors: {
custom: {
50: '#c3b2ee',
500: '#a792e6',
950: '#000000',
},
}SCSS
$custom: #a792e6; $custom-light: #c3b2ee; $custom-dark: #000000;
JSON
{
"hex": "#a792e6",
"rgb": {
"r": 167,
"g": 146,
"b": 230
},
"hsl": {
"h": 255,
"s": 62.687,
"l": 73.725
},
"oklch": {
"l": 0.71132,
"c": 0.12175,
"h": 294.6
},
"luminance": 0.34486
}Semantic roles & 50–950 ramp
primary
#A792E6
secondary
#EBF1DA
accent
#CA1B9F
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131116
muted
#828084