#A792EC#A792EC
#A792EC is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.4% C 0.130 H 293.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A792EC |
|---|---|
| RGB | rgb(167, 146, 236) |
| HSL | hsl(254, 70%, 75%) |
| HSV | hsv(254, 38%, 93%) |
| CMYK | cmyk(29.2%, 38.1%, 0%, 7.5%) |
| CIE-LAB | lab(65.62, 27.08, -42.63) |
| CIE-LCH | lch(65.62, 50.50, 302.42°) |
| OKLab | oklab(71.43% 0.0519 -0.119) |
| OKLCH | oklch(71.43% 0.13 293.6) |
| XYZ | xyz(41.3518, 34.8287, 83.8846) |
| Luminance | 0.3483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.06
Liliac
#C48EFD
ΔE00 6.25
Lavender
#B39DDB
ΔE00 6.43
Lavender Blue
#8B88F8
ΔE00 6.81
Pastel Purple
#CAA0FF
ΔE00 6.94
Baby Purple
#CA9BF7
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A792EC #D7EC92
analogous
#92AAEC #A792EC #D492EC
triadic
#A792EC #ECA792 #92ECA7
tetradic
#A792EC #EC92AA #D7EC92 #92ECD4
square
#A792EC #EC92AA #D7EC92 #92ECD4
split-complementary
#A792EC #ECD492 #AAEC92
monochromatic
#532ADA #7D5EE3 #A792EC #D1C6F5 #EAE5FA
Accessibility & contrast
On white
2.64
#A792EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#A792EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A792EC
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A792EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A792EC | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A0EF
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#98A2B4
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a792ec; /* rgb */ color: rgb(167, 146, 236); /* oklch */ color: oklch(71.4% 0.130 293.6);
Tailwind
colors: {
custom: {
50: '#c3b2f2',
500: '#a792ec',
950: '#000000',
},
}SCSS
$custom: #a792ec; $custom-light: #c3b2f2; $custom-dark: #000000;
JSON
{
"hex": "#a792ec",
"rgb": {
"r": 167,
"g": 146,
"b": 236
},
"hsl": {
"h": 254,
"s": 70.313,
"l": 74.902
},
"oklch": {
"l": 0.71425,
"c": 0.12988,
"h": 293.6
},
"luminance": 0.34829
}Semantic roles & 50–950 ramp
primary
#A792EC
secondary
#ECF2D9
accent
#D213A6
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131117
muted
#828085