#A477F7#A477F7
#A477F7 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.1% C 0.185 H 297.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A477F7 |
|---|---|
| RGB | rgb(164, 119, 247) |
| HSL | hsl(261, 89%, 72%) |
| HSV | hsv(261, 52%, 97%) |
| CMYK | cmyk(33.6%, 51.8%, 0%, 3.1%) |
| CIE-LAB | lab(59.71, 44.23, -58.07) |
| CIE-LCH | lch(59.71, 73.00, 307.30°) |
| OKLab | oklab(67.1% 0.0851 -0.1641) |
| OKLCH | oklch(67.1% 0.185 297.4) |
| XYZ | xyz(38.6910, 27.8011, 91.3054) |
| Luminance | 0.2780 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.48
Mediumpurple
#9370DB
ΔE00 5.06
Easter Purple
#C071FE
ΔE00 5.15
Light Purple
#BF77F6
ΔE00 5.20
Periwinkle (survey)
#8E82FE
ΔE00 5.84
Lighter Purple
#A55AF4
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A477F7 #CAF777
analogous
#778AF7 #A477F7 #E477F7
triadic
#A477F7 #F7A477 #77F7A4
tetradic
#A477F7 #F7778A #CAF777 #77F7E4
square
#A477F7 #F7778A #CAF777 #77F7E4
split-complementary
#A477F7 #F7E477 #8AF777
monochromatic
#5A0EE6 #7D3DF4 #A477F7 #CBB1FA #ECE2FD
Accessibility & contrast
On white
3.20
#A477F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#A477F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A477F7
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A477F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A477F7 | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4590FB
Deuteranopia (green-blind)
#518EF4
Tritanopia (blue-blind)
#9290AC
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a477f7; /* rgb */ color: rgb(164, 119, 247); /* oklch */ color: oklch(67.1% 0.185 297.4);
Tailwind
colors: {
custom: {
50: '#c39ffa',
500: '#a477f7',
950: '#000000',
},
}SCSS
$custom: #a477f7; $custom-light: #c39ffa; $custom-dark: #000000;
JSON
{
"hex": "#a477f7",
"rgb": {
"r": 164,
"g": 119,
"b": 247
},
"hsl": {
"h": 261.094,
"s": 88.889,
"l": 71.765
},
"oklch": {
"l": 0.67099,
"c": 0.18487,
"h": 297.4
},
"luminance": 0.27802
}Semantic roles & 50–950 ramp
primary
#A477F7
secondary
#EAF5D5
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85