#A789E4#A789E4
#A789E4 is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.4% C 0.133 H 298.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A789E4 |
|---|---|
| RGB | rgb(167, 137, 228) |
| HSL | hsl(260, 63%, 72%) |
| HSV | hsv(260, 40%, 89%) |
| CMYK | cmyk(26.8%, 39.9%, 0%, 10.6%) |
| CIE-LAB | lab(63.10, 30.22, -42.16) |
| CIE-LCH | lch(63.10, 51.87, 305.64°) |
| OKLab | oklab(69.4% 0.0627 -0.1177) |
| OKLCH | oklch(69.4% 0.133 298) |
| XYZ | xyz(38.8823, 31.7079, 77.4555) |
| Luminance | 0.3171 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.87
Perrywinkle
#8F8CE7
ΔE00 6.05
Pale Purple
#B790D4
ΔE00 6.31
Light Purple
#BF77F6
ΔE00 7.16
Lavender
#B39DDB
ΔE00 7.24
Wisteria
#A87DC2
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A789E4 #C6E489
analogous
#8999E4 #A789E4 #D589E4
triadic
#A789E4 #E4A789 #89E4A7
tetradic
#A789E4 #E48999 #C6E489 #89E4D5
square
#A789E4 #E48999 #C6E489 #89E4D5
split-complementary
#A789E4 #E4D589 #99E489
monochromatic
#5F2DC5 #8257D9 #A789E4 #CCBBEF #ECE6F9
Accessibility & contrast
On white
2.86
#A789E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#A789E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A789E4
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A789E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A789E4 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7099E7
Deuteranopia (green-blind)
#7698E2
Tritanopia (blue-blind)
#9B99AC
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #a789e4; /* rgb */ color: rgb(167, 137, 228); /* oklch */ color: oklch(69.4% 0.133 298.0);
Tailwind
colors: {
custom: {
50: '#c3abed',
500: '#a789e4',
950: '#000000',
},
}SCSS
$custom: #a789e4; $custom-light: #c3abed; $custom-dark: #000000;
JSON
{
"hex": "#a789e4",
"rgb": {
"r": 167,
"g": 137,
"b": 228
},
"hsl": {
"h": 259.78,
"s": 62.759,
"l": 71.569
},
"oklch": {
"l": 0.69395,
"c": 0.1333,
"h": 298
},
"luminance": 0.31708
}Semantic roles & 50–950 ramp
primary
#A789E4
secondary
#E8F0D9
accent
#CB1B91
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84