#A792FA#A792FA
#A792FA is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.1% C 0.149 H 291.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A792FA |
|---|---|
| RGB | rgb(167, 146, 250) |
| HSL | hsl(252, 91%, 78%) |
| HSV | hsv(252, 42%, 98%) |
| CMYK | cmyk(33.2%, 41.6%, 0%, 2%) |
| CIE-LAB | lab(66.27, 30.61, -49.28) |
| CIE-LCH | lch(66.27, 58.01, 301.84°) |
| OKLab | oklab(72.14% 0.0545 -0.1383) |
| OKLCH | oklch(72.14% 0.149 291.5) |
| XYZ | xyz(43.4661, 35.6744, 95.0197) |
| Luminance | 0.3568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.01
Lavender Blue
#8B88F8
ΔE00 5.67
Periwinkle (survey)
#8E82FE
ΔE00 6.08
Liliac
#C48EFD
ΔE00 6.24
Periwinkle Blue
#8F99FB
ΔE00 6.35
Pastel Purple
#CAA0FF
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A792FA #E5FA92
analogous
#92B1FA #A792FA #DB92FA
triadic
#A792FA #FAA792 #92FAA7
tetradic
#A792FA #FA92B1 #E5FA92 #92FADB
square
#A792FA #FA92B1 #E5FA92 #92FADB
split-complementary
#A792FA #FADB92 #B1FA92
monochromatic
#491DF5 #7857F7 #A792FA #D6CDFD #E7E2FE
Accessibility & contrast
On white
2.58
#A792FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#A792FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A792FA
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A792FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A792FA | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71A3FE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#93A5BA
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a792fa; /* rgb */ color: rgb(167, 146, 250); /* oklch */ color: oklch(72.1% 0.149 291.5);
Tailwind
colors: {
custom: {
50: '#c4b2fc',
500: '#a792fa',
950: '#000000',
},
}SCSS
$custom: #a792fa; $custom-light: #c4b2fc; $custom-dark: #000000;
JSON
{
"hex": "#a792fa",
"rgb": {
"r": 167,
"g": 146,
"b": 250
},
"hsl": {
"h": 252.115,
"s": 91.228,
"l": 77.647
},
"oklch": {
"l": 0.72137,
"c": 0.1487,
"h": 291.5
},
"luminance": 0.35675
}Semantic roles & 50–950 ramp
primary
#A792FA
secondary
#EFF6D5
accent
#E600B7
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131117
muted
#828085