#A790FA#A790FA
#A790FA is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.8% C 0.152 H 292.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A790FA |
|---|---|
| RGB | rgb(167, 144, 250) |
| HSL | hsl(253, 91%, 77%) |
| HSV | hsv(253, 42%, 98%) |
| CMYK | cmyk(33.2%, 42.4%, 0%, 2%) |
| CIE-LAB | lab(65.80, 31.74, -50.02) |
| CIE-LCH | lch(65.80, 59.24, 302.39°) |
| OKLab | oklab(71.78% 0.0571 -0.1405) |
| OKLCH | oklch(71.78% 0.152 292.1) |
| XYZ | xyz(43.1605, 35.0632, 94.9179) |
| Luminance | 0.3506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.05
Lavender Blue
#8B88F8
ΔE00 5.57
Periwinkle (survey)
#8E82FE
ΔE00 5.78
Liliac
#C48EFD
ΔE00 6.01
Periwinkle Blue
#8F99FB
ΔE00 6.70
Pastel Purple
#CAA0FF
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A790FA #E3FA90
analogous
#90AEFA #A790FA #DC90FA
triadic
#A790FA #FAA790 #90FAA7
tetradic
#A790FA #FA90AE #E3FA90 #90FADC
square
#A790FA #FA90AE #E3FA90 #90FADC
split-complementary
#A790FA #FADC90 #AEFA90
monochromatic
#4A1BF5 #7955F7 #A790FA #D5CBFD #E8E2FE
Accessibility & contrast
On white
2.62
#A790FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#A790FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A790FA
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A790FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A790FA | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#93A4B9
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a790fa; /* rgb */ color: rgb(167, 144, 250); /* oklch */ color: oklch(71.8% 0.152 292.1);
Tailwind
colors: {
custom: {
50: '#c4b0fc',
500: '#a790fa',
950: '#000000',
},
}SCSS
$custom: #a790fa; $custom-light: #c4b0fc; $custom-dark: #000000;
JSON
{
"hex": "#a790fa",
"rgb": {
"r": 167,
"g": 144,
"b": 250
},
"hsl": {
"h": 253.019,
"s": 91.379,
"l": 77.255
},
"oklch": {
"l": 0.71779,
"c": 0.15169,
"h": 292.1
},
"luminance": 0.35064
}Semantic roles & 50–950 ramp
primary
#A790FA
secondary
#EFF6D5
accent
#E600B4
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131017
muted
#827F85