#A476F7#A476F7
#A476F7 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.186 H 297.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A476F7 |
|---|---|
| RGB | rgb(164, 118, 247) |
| HSL | hsl(261, 89%, 72%) |
| HSV | hsv(261, 52%, 97%) |
| CMYK | cmyk(33.6%, 52.2%, 0%, 3.1%) |
| CIE-LAB | lab(59.49, 44.78, -58.41) |
| CIE-LCH | lch(59.49, 73.60, 307.48°) |
| OKLab | oklab(66.94% 0.0863 -0.1651) |
| OKLCH | oklch(66.94% 0.186 297.6) |
| XYZ | xyz(38.5726, 27.5643, 91.2659) |
| Luminance | 0.2757 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.33
Mediumpurple
#9370DB
ΔE00 4.98
Easter Purple
#C071FE
ΔE00 5.08
Light Purple
#BF77F6
ΔE00 5.20
Periwinkle (survey)
#8E82FE
ΔE00 6.00
Lighter Purple
#A55AF4
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A476F7 #C9F776
analogous
#7689F7 #A476F7 #E476F7
triadic
#A476F7 #F7A476 #76F7A4
tetradic
#A476F7 #F77689 #C9F776 #76F7E4
square
#A476F7 #F77689 #C9F776 #76F7E4
split-complementary
#A476F7 #F7E476 #89F776
monochromatic
#5A0DE5 #7E3CF4 #A476F7 #CAB0FA #ECE2FD
Accessibility & contrast
On white
3.22
#A476F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#A476F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A476F7
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A476F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A476F7 | 1.00 | 3.22 | 6.51 | 6.51 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4390FB
Deuteranopia (green-blind)
#508EF4
Tritanopia (blue-blind)
#9290AB
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a476f7; /* rgb */ color: rgb(164, 118, 247); /* oklch */ color: oklch(66.9% 0.186 297.6);
Tailwind
colors: {
custom: {
50: '#c39ffa',
500: '#a476f7',
950: '#000000',
},
}SCSS
$custom: #a476f7; $custom-light: #c39ffa; $custom-dark: #000000;
JSON
{
"hex": "#a476f7",
"rgb": {
"r": 164,
"g": 118,
"b": 247
},
"hsl": {
"h": 261.395,
"s": 88.966,
"l": 71.569
},
"oklch": {
"l": 0.66939,
"c": 0.18634,
"h": 297.6
},
"luminance": 0.27565
}Semantic roles & 50–950 ramp
primary
#A476F7
secondary
#E9F5D4
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85