#A770F2#A770F2
#A770F2 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.0% C 0.190 H 300.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A770F2 |
|---|---|
| RGB | rgb(167, 112, 242) |
| HSL | hsl(265, 83%, 69%) |
| HSV | hsv(265, 54%, 95%) |
| CMYK | cmyk(31%, 53.7%, 0%, 5.1%) |
| CIE-LAB | lab(58.24, 47.54, -57.63) |
| CIE-LCH | lch(58.24, 74.71, 309.52°) |
| OKLab | oklab(65.99% 0.0973 -0.1627) |
| OKLCH | oklch(65.99% 0.19 300.9) |
| XYZ | xyz(37.7538, 26.2145, 87.0581) |
| Luminance | 0.2621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.16
Easter Purple
#C071FE
ΔE00 4.47
Mediumpurple
#9370DB
ΔE00 4.62
Light Purple
#BF77F6
ΔE00 4.78
Lighter Purple
#A55AF4
ΔE00 5.19
Bright Lavender
#C760FF
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A770F2 #BBF270
analogous
#707AF2 #A770F2 #E870F2
triadic
#A770F2 #F2A770 #70F2A7
tetradic
#A770F2 #F2707A #BBF270 #70F2E8
square
#A770F2 #F2707A #BBF270 #70F2E8
split-complementary
#A770F2 #F2E870 #7AF270
monochromatic
#6513D4 #8438ED #A770F2 #CAA8F7 #ECE0FC
Accessibility & contrast
On white
3.36
#A770F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#A770F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A770F2
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A770F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A770F2 | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8BF6
Deuteranopia (green-blind)
#4F8BEF
Tritanopia (blue-blind)
#9889A6
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a770f2; /* rgb */ color: rgb(167, 112, 242); /* oklch */ color: oklch(66.0% 0.190 300.9);
Tailwind
colors: {
custom: {
50: '#c59bf7',
500: '#a770f2',
950: '#000000',
},
}SCSS
$custom: #a770f2; $custom-light: #c59bf7; $custom-dark: #000000;
JSON
{
"hex": "#a770f2",
"rgb": {
"r": 167,
"g": 112,
"b": 242
},
"hsl": {
"h": 265.385,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.65991,
"c": 0.1896,
"h": 300.9
},
"luminance": 0.26215
}Semantic roles & 50–950 ramp
primary
#A770F2
secondary
#E2F2CC
accent
#E00684
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85