#A790EC#A790EC
#A790EC is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.1% C 0.133 H 294.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A790EC |
|---|---|
| RGB | rgb(167, 144, 236) |
| HSL | hsl(255, 71%, 75%) |
| HSV | hsv(255, 39%, 93%) |
| CMYK | cmyk(29.2%, 39%, 0%, 7.5%) |
| CIE-LAB | lab(65.13, 28.21, -43.38) |
| CIE-LCH | lch(65.13, 51.75, 303.04°) |
| OKLab | oklab(71.06% 0.0546 -0.1212) |
| OKLCH | oklch(71.06% 0.133 294.3) |
| XYZ | xyz(41.0462, 34.2175, 83.7827) |
| Luminance | 0.3422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.08
Liliac
#C48EFD
ΔE00 5.98
Lavender Blue
#8B88F8
ΔE00 6.69
Lavender
#B39DDB
ΔE00 6.76
Baby Purple
#CA9BF7
ΔE00 7.03
Pastel Purple
#CAA0FF
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A790EC #D5EC90
analogous
#90A7EC #A790EC #D590EC
triadic
#A790EC #ECA790 #90ECA7
tetradic
#A790EC #EC90A7 #D5EC90 #90ECD5
square
#A790EC #EC90A7 #D5EC90 #90ECD5
split-complementary
#A790EC #ECD590 #A7EC90
monochromatic
#5427DA #7E5CE3 #A790EC #D0C4F5 #EAE5FB
Accessibility & contrast
On white
2.68
#A790EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#A790EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A790EC
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A790EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A790EC | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#769FF0
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#98A0B3
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a790ec; /* rgb */ color: rgb(167, 144, 236); /* oklch */ color: oklch(71.1% 0.133 294.3);
Tailwind
colors: {
custom: {
50: '#c3b0f2',
500: '#a790ec',
950: '#000000',
},
}SCSS
$custom: #a790ec; $custom-light: #c3b0f2; $custom-dark: #000000;
JSON
{
"hex": "#a790ec",
"rgb": {
"r": 167,
"g": 144,
"b": 236
},
"hsl": {
"h": 255,
"s": 70.769,
"l": 74.51
},
"oklch": {
"l": 0.7106,
"c": 0.13297,
"h": 294.3
},
"luminance": 0.34218
}Semantic roles & 50–950 ramp
primary
#A790EC
secondary
#ECF2D9
accent
#D313A3
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85