#A770E8#A770E8
#A770E8 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.4% C 0.178 H 303.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A770E8 |
|---|---|
| RGB | rgb(167, 112, 232) |
| HSL | hsl(268, 72%, 67%) |
| HSV | hsv(268, 52%, 91%) |
| CMYK | cmyk(28%, 51.7%, 0%, 9%) |
| CIE-LAB | lab(57.68, 45.14, -52.95) |
| CIE-LCH | lch(57.68, 69.58, 310.45°) |
| OKLab | oklab(65.4% 0.0967 -0.149) |
| OKLCH | oklch(65.4% 0.178 303) |
| XYZ | xyz(36.2928, 25.6301, 79.3634) |
| Luminance | 0.2563 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.63
Mediumpurple
#9370DB
ΔE00 4.04
Light Purple
#BF77F6
ΔE00 4.80
Easter Purple
#C071FE
ΔE00 4.88
Lighter Purple
#A55AF4
ΔE00 5.46
Bright Lavender
#C760FF
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A770E8 #B1E870
analogous
#7075E8 #A770E8 #E370E8
triadic
#A770E8 #E8A770 #70E8A7
tetradic
#A770E8 #E87075 #B1E870 #70E8E3
square
#A770E8 #E87075 #B1E870 #70E8E3
split-complementary
#A770E8 #E8E370 #75E870
monochromatic
#681FBF #873BE0 #A770E8 #C7A5F0 #E8D9F9
Accessibility & contrast
On white
3.43
#A770E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#A770E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A770E8
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A770E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A770E8 | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4889EC
Deuteranopia (green-blind)
#588AE5
Tritanopia (blue-blind)
#9B86A2
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a770e8; /* rgb */ color: rgb(167, 112, 232); /* oklch */ color: oklch(65.4% 0.178 303.0);
Tailwind
colors: {
custom: {
50: '#c49af0',
500: '#a770e8',
950: '#000000',
},
}SCSS
$custom: #a770e8; $custom-light: #c49af0; $custom-dark: #000000;
JSON
{
"hex": "#a770e8",
"rgb": {
"r": 167,
"g": 112,
"b": 232
},
"hsl": {
"h": 267.5,
"s": 72.289,
"l": 67.451
},
"oklch": {
"l": 0.654,
"c": 0.17766,
"h": 303
},
"luminance": 0.2563
}Semantic roles & 50–950 ramp
primary
#A770E8
secondary
#DBEDC7
accent
#D4117B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84