#A770F0#A770F0
#A770F0 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.187 H 301.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A770F0 |
|---|---|
| RGB | rgb(167, 112, 240) |
| HSL | hsl(266, 81%, 69%) |
| HSV | hsv(266, 53%, 94%) |
| CMYK | cmyk(30.4%, 53.3%, 0%, 5.9%) |
| CIE-LAB | lab(58.13, 47.06, -56.70) |
| CIE-LCH | lch(58.13, 73.68, 309.69°) |
| OKLab | oklab(65.87% 0.0972 -0.16) |
| OKLCH | oklch(65.87% 0.187 301.3) |
| XYZ | xyz(37.4550, 26.0950, 85.4848) |
| Luminance | 0.2610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.18
Mediumpurple
#9370DB
ΔE00 4.47
Easter Purple
#C071FE
ΔE00 4.51
Light Purple
#BF77F6
ΔE00 4.75
Lighter Purple
#A55AF4
ΔE00 5.20
Bright Lavender
#C760FF
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A770F0 #B9F070
analogous
#7079F0 #A770F0 #E770F0
triadic
#A770F0 #F0A770 #70F0A7
tetradic
#A770F0 #F07079 #B9F070 #70F0E7
square
#A770F0 #F07079 #B9F070 #70F0E7
split-complementary
#A770F0 #F0E770 #79F070
monochromatic
#6616D0 #8539EA #A770F0 #C9A7F6 #EBDFFC
Accessibility & contrast
On white
3.38
#A770F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#A770F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A770F0
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A770F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A770F0 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408BF4
Deuteranopia (green-blind)
#518BED
Tritanopia (blue-blind)
#9989A5
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a770f0; /* rgb */ color: rgb(167, 112, 240); /* oklch */ color: oklch(65.9% 0.187 301.3);
Tailwind
colors: {
custom: {
50: '#c59bf5',
500: '#a770f0',
950: '#000000',
},
}SCSS
$custom: #a770f0; $custom-light: #c59bf5; $custom-dark: #000000;
JSON
{
"hex": "#a770f0",
"rgb": {
"r": 167,
"g": 112,
"b": 240
},
"hsl": {
"h": 265.781,
"s": 81.013,
"l": 69.02
},
"oklch": {
"l": 0.65871,
"c": 0.18721,
"h": 301.3
},
"luminance": 0.26095
}Semantic roles & 50–950 ramp
primary
#A770F0
secondary
#E1F1CB
accent
#DD0882
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85