#A770E4#A770E4
#A770E4 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.2% C 0.173 H 303.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A770E4 |
|---|---|
| RGB | rgb(167, 112, 228) |
| HSL | hsl(268, 68%, 67%) |
| HSV | hsv(268, 51%, 89%) |
| CMYK | cmyk(26.8%, 50.9%, 0%, 10.6%) |
| CIE-LAB | lab(57.47, 44.19, -51.06) |
| CIE-LCH | lch(57.47, 67.52, 310.87°) |
| OKLab | oklab(65.17% 0.0964 -0.1435) |
| OKLCH | oklch(65.17% 0.173 303.9) |
| XYZ | xyz(35.7311, 25.4054, 76.4051) |
| Luminance | 0.2540 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.03
Mediumpurple
#9370DB
ΔE00 3.97
Light Purple
#BF77F6
ΔE00 4.94
Easter Purple
#C071FE
ΔE00 5.16
Lighter Purple
#A55AF4
ΔE00 5.70
Bright Lavender
#C760FF
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A770E4 #ADE470
analogous
#7073E4 #A770E4 #E170E4
triadic
#A770E4 #E4A770 #70E4A7
tetradic
#A770E4 #E47073 #ADE470 #70E4E1
square
#A770E4 #E47073 #ADE470 #70E4E1
split-complementary
#A770E4 #E4E170 #73E470
monochromatic
#6923B7 #873DDA #A770E4 #C7A3EE #E6D7F7
Accessibility & contrast
On white
3.45
#A770E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#A770E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A770E4
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A770E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A770E4 | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B89E8
Deuteranopia (green-blind)
#5B8AE1
Tritanopia (blue-blind)
#9C85A0
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a770e4; /* rgb */ color: rgb(167, 112, 228); /* oklch */ color: oklch(65.2% 0.173 303.9);
Tailwind
colors: {
custom: {
50: '#c49aed',
500: '#a770e4',
950: '#000000',
},
}SCSS
$custom: #a770e4; $custom-light: #c49aed; $custom-dark: #000000;
JSON
{
"hex": "#a770e4",
"rgb": {
"r": 167,
"g": 112,
"b": 228
},
"hsl": {
"h": 268.448,
"s": 68.235,
"l": 66.667
},
"oklch": {
"l": 0.6517,
"c": 0.17288,
"h": 303.9
},
"luminance": 0.25405
}Semantic roles & 50–950 ramp
primary
#A770E4
secondary
#D9EBC5
accent
#D01578
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84