#A477F2#A477F2
#A477F2 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.8% C 0.179 H 298.3°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A477F2 |
|---|---|
| RGB | rgb(164, 119, 242) |
| HSL | hsl(262, 83%, 71%) |
| HSV | hsv(262, 51%, 95%) |
| CMYK | cmyk(32.2%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(59.43, 42.98, -55.74) |
| CIE-LCH | lch(59.43, 70.39, 307.63°) |
| OKLab | oklab(66.8% 0.0848 -0.1573) |
| OKLCH | oklch(66.8% 0.179 298.3) |
| XYZ | xyz(37.9298, 27.4966, 87.2962) |
| Luminance | 0.2750 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.37
Mediumpurple
#9370DB
ΔE00 4.59
Light Purple
#BF77F6
ΔE00 5.03
Easter Purple
#C071FE
ΔE00 5.16
Periwinkle (survey)
#8E82FE
ΔE00 6.18
Lighter Purple
#A55AF4
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A477F2 #C5F277
analogous
#7787F2 #A477F2 #E177F2
triadic
#A477F2 #F2A477 #77F2A4
tetradic
#A477F2 #F27787 #C5F277 #77F2E1
square
#A477F2 #F27787 #C5F277 #77F2E1
split-complementary
#A477F2 #F2E177 #87F277
monochromatic
#5D15DA #7F3FED #A477F2 #C9AFF7 #ECE3FC
Accessibility & contrast
On white
3.23
#A477F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#A477F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A477F2
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A477F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A477F2 | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#938FA9
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a477f2; /* rgb */ color: rgb(164, 119, 242); /* oklch */ color: oklch(66.8% 0.179 298.3);
Tailwind
colors: {
custom: {
50: '#c29ff7',
500: '#a477f2',
950: '#000000',
},
}SCSS
$custom: #a477f2; $custom-light: #c29ff7; $custom-dark: #000000;
JSON
{
"hex": "#a477f2",
"rgb": {
"r": 164,
"g": 119,
"b": 242
},
"hsl": {
"h": 261.951,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.66804,
"c": 0.17869,
"h": 298.3
},
"luminance": 0.27497
}Semantic roles & 50–950 ramp
primary
#A477F2
secondary
#E7F3D2
accent
#DF0790
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85