#A476F5#A476F5
#A476F5 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.8% C 0.184 H 298.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A476F5 |
|---|---|
| RGB | rgb(164, 118, 245) |
| HSL | hsl(262, 86%, 71%) |
| HSV | hsv(262, 52%, 96%) |
| CMYK | cmyk(33.1%, 51.8%, 0%, 3.9%) |
| CIE-LAB | lab(59.38, 44.28, -57.49) |
| CIE-LCH | lch(59.38, 72.56, 307.61°) |
| OKLab | oklab(66.82% 0.0862 -0.1624) |
| OKLCH | oklch(66.82% 0.184 298) |
| XYZ | xyz(38.2657, 27.4415, 89.6492) |
| Luminance | 0.2744 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.27
Mediumpurple
#9370DB
ΔE00 4.78
Easter Purple
#C071FE
ΔE00 5.07
Light Purple
#BF77F6
ΔE00 5.12
Periwinkle (survey)
#8E82FE
ΔE00 6.12
Lighter Purple
#A55AF4
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A476F5 #C7F576
analogous
#7687F5 #A476F5 #E376F5
triadic
#A476F5 #F5A476 #76F5A4
tetradic
#A476F5 #F57687 #C7F576 #76F5E3
square
#A476F5 #F57687 #C7F576 #76F5E3
split-complementary
#A476F5 #F5E376 #87F576
monochromatic
#5C10E0 #7E3DF1 #A476F5 #CAAFF9 #ECE2FD
Accessibility & contrast
On white
3.24
#A476F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#A476F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A476F5
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A476F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A476F5 | 1.00 | 3.24 | 6.49 | 6.49 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#458FF9
Deuteranopia (green-blind)
#528EF2
Tritanopia (blue-blind)
#928FAA
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a476f5; /* rgb */ color: rgb(164, 118, 245); /* oklch */ color: oklch(66.8% 0.184 298.0);
Tailwind
colors: {
custom: {
50: '#c39ff9',
500: '#a476f5',
950: '#000000',
},
}SCSS
$custom: #a476f5; $custom-light: #c39ff9; $custom-dark: #000000;
JSON
{
"hex": "#a476f5",
"rgb": {
"r": 164,
"g": 118,
"b": 245
},
"hsl": {
"h": 261.732,
"s": 86.395,
"l": 71.176
},
"oklch": {
"l": 0.6682,
"c": 0.18389,
"h": 298
},
"luminance": 0.27442
}Semantic roles & 50–950 ramp
primary
#A476F5
secondary
#E8F4D3
accent
#E30392
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85