#A476EF#A476EF
#A476EF is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.5% C 0.176 H 299.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A476EF |
|---|---|
| RGB | rgb(164, 118, 239) |
| HSL | hsl(263, 79%, 70%) |
| HSV | hsv(263, 51%, 94%) |
| CMYK | cmyk(31.4%, 50.6%, 0%, 6.3%) |
| CIE-LAB | lab(59.05, 42.79, -54.69) |
| CIE-LCH | lch(59.05, 69.44, 308.04°) |
| OKLab | oklab(66.47% 0.0858 -0.1542) |
| OKLCH | oklch(66.47% 0.176 299.1) |
| XYZ | xyz(37.3645, 27.0811, 84.9033) |
| Luminance | 0.2708 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.22
Mediumpurple
#9370DB
ΔE00 4.25
Light Purple
#BF77F6
ΔE00 4.98
Easter Purple
#C071FE
ΔE00 5.15
Periwinkle (survey)
#8E82FE
ΔE00 6.57
Lighter Purple
#A55AF4
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A476EF #C1EF76
analogous
#7684EF #A476EF #E176EF
triadic
#A476EF #EFA476 #76EFA4
tetradic
#A476EF #EF7684 #C1EF76 #76EFE1
square
#A476EF #EF7684 #C1EF76 #76EFE1
split-complementary
#A476EF #EFE176 #84EF76
monochromatic
#5F19D2 #803FE9 #A476EF #C8ADF5 #EDE4FC
Accessibility & contrast
On white
3.27
#A476EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#A476EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A476EF
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A476EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A476EF | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8EF3
Deuteranopia (green-blind)
#578DEC
Tritanopia (blue-blind)
#948DA8
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a476ef; /* rgb */ color: rgb(164, 118, 239); /* oklch */ color: oklch(66.5% 0.176 299.1);
Tailwind
colors: {
custom: {
50: '#c29ef5',
500: '#a476ef',
950: '#000000',
},
}SCSS
$custom: #a476ef; $custom-light: #c29ef5; $custom-dark: #000000;
JSON
{
"hex": "#a476ef",
"rgb": {
"r": 164,
"g": 118,
"b": 239
},
"hsl": {
"h": 262.81,
"s": 79.085,
"l": 70
},
"oklch": {
"l": 0.66467,
"c": 0.17649,
"h": 299.1
},
"luminance": 0.27081
}Semantic roles & 50–950 ramp
primary
#A476EF
secondary
#E4F1CF
accent
#DB0A8C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85