#A790FB#A790FB
#A790FB is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.8% C 0.153 H 292.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A790FB |
|---|---|
| RGB | rgb(167, 144, 251) |
| HSL | hsl(253, 93%, 77%) |
| HSV | hsv(253, 43%, 98%) |
| CMYK | cmyk(33.5%, 42.6%, 0%, 1.6%) |
| CIE-LAB | lab(65.85, 31.99, -50.49) |
| CIE-LCH | lch(65.85, 59.78, 302.36°) |
| OKLab | oklab(71.83% 0.0573 -0.1419) |
| OKLCH | oklch(71.83% 0.153 292) |
| XYZ | xyz(43.3177, 35.1261, 95.7458) |
| Luminance | 0.3513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.09
Lavender Blue
#8B88F8
ΔE00 5.53
Periwinkle (survey)
#8E82FE
ΔE00 5.72
Liliac
#C48EFD
ΔE00 6.05
Periwinkle Blue
#8F99FB
ΔE00 6.66
Pastel Purple
#CAA0FF
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A790FB #E4FB90
analogous
#90AFFB #A790FB #DC90FB
triadic
#A790FB #FBA790 #90FBA7
tetradic
#A790FB #FB90AF #E4FB90 #90FBDC
square
#A790FB #FB90AF #E4FB90 #90FBDC
split-complementary
#A790FB #FBDC90 #AFFB90
monochromatic
#491AF7 #7855F9 #A790FB #D6CBFD #E8E1FE
Accessibility & contrast
On white
2.62
#A790FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#A790FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A790FB
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A790FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A790FB | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#709EF8
Tritanopia (blue-blind)
#93A4B9
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a790fb; /* rgb */ color: rgb(167, 144, 251); /* oklch */ color: oklch(71.8% 0.153 292.0);
Tailwind
colors: {
custom: {
50: '#c4b0fd',
500: '#a790fb',
950: '#000000',
},
}SCSS
$custom: #a790fb; $custom-light: #c4b0fd; $custom-dark: #000000;
JSON
{
"hex": "#a790fb",
"rgb": {
"r": 167,
"g": 144,
"b": 251
},
"hsl": {
"h": 252.897,
"s": 93.043,
"l": 77.451
},
"oklch": {
"l": 0.71832,
"c": 0.15301,
"h": 292
},
"luminance": 0.35127
}Semantic roles & 50–950 ramp
primary
#A790FB
secondary
#EFF6D5
accent
#E600B4
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131018
muted
#827F86