#A789E5#A789E5
#A789E5 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.4% C 0.135 H 297.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A789E5 |
|---|---|
| RGB | rgb(167, 137, 229) |
| HSL | hsl(260, 64%, 72%) |
| HSV | hsv(260, 40%, 90%) |
| CMYK | cmyk(27.1%, 40.2%, 0%, 10.2%) |
| CIE-LAB | lab(63.15, 30.46, -42.64) |
| CIE-LCH | lch(63.15, 52.40, 305.54°) |
| OKLab | oklab(69.45% 0.0628 -0.1191) |
| OKLCH | oklch(69.45% 0.135 297.8) |
| XYZ | xyz(39.0216, 31.7636, 78.1887) |
| Luminance | 0.3176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.81
Perrywinkle
#8F8CE7
ΔE00 5.98
Pale Purple
#B790D4
ΔE00 6.46
Light Purple
#BF77F6
ΔE00 7.11
Lavender
#B39DDB
ΔE00 7.35
Periwinkle (survey)
#8E82FE
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A789E5 #C7E589
analogous
#8999E5 #A789E5 #D589E5
triadic
#A789E5 #E5A789 #89E5A7
tetradic
#A789E5 #E58999 #C7E589 #89E5D5
square
#A789E5 #E58999 #C7E589 #89E5D5
split-complementary
#A789E5 #E5D589 #99E589
monochromatic
#5F2CC8 #8257DA #A789E5 #CCBBF0 #ECE6F9
Accessibility & contrast
On white
2.86
#A789E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#A789E5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A789E5
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A789E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A789E5 | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7099E8
Deuteranopia (green-blind)
#7598E3
Tritanopia (blue-blind)
#9B99AC
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #a789e5; /* rgb */ color: rgb(167, 137, 229); /* oklch */ color: oklch(69.4% 0.135 297.8);
Tailwind
colors: {
custom: {
50: '#c3abed',
500: '#a789e5',
950: '#000000',
},
}SCSS
$custom: #a789e5; $custom-light: #c3abed; $custom-dark: #000000;
JSON
{
"hex": "#a789e5",
"rgb": {
"r": 167,
"g": 137,
"b": 229
},
"hsl": {
"h": 259.565,
"s": 63.889,
"l": 71.765
},
"oklch": {
"l": 0.69446,
"c": 0.13462,
"h": 297.8
},
"luminance": 0.31764
}Semantic roles & 50–950 ramp
primary
#A789E5
secondary
#E9F1D9
accent
#CC1A92
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84