#A474EF#A474EF
#A474EF is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.1% C 0.179 H 299.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A474EF |
|---|---|
| RGB | rgb(164, 116, 239) |
| HSL | hsl(263, 79%, 70%) |
| HSV | hsv(263, 51%, 94%) |
| CMYK | cmyk(31.4%, 51.5%, 0%, 6.3%) |
| CIE-LAB | lab(58.62, 43.89, -55.38) |
| CIE-LCH | lch(58.62, 70.66, 308.40°) |
| OKLab | oklab(66.15% 0.0884 -0.1562) |
| OKLCH | oklch(66.15% 0.179 299.5) |
| XYZ | xyz(37.1315, 26.6150, 84.8256) |
| Luminance | 0.2661 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.97
Mediumpurple
#9370DB
ΔE00 4.10
Light Purple
#BF77F6
ΔE00 5.02
Easter Purple
#C071FE
ΔE00 5.06
Lighter Purple
#A55AF4
ΔE00 6.19
Periwinkle (survey)
#8E82FE
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A474EF #BFEF74
analogous
#7481EF #A474EF #E274EF
triadic
#A474EF #EFA474 #74EFA4
tetradic
#A474EF #EF7481 #BFEF74 #74EFE2
square
#A474EF #EF7481 #BFEF74 #74EFE2
split-complementary
#A474EF #EFE274 #81EF74
monochromatic
#6018D1 #803DE9 #A474EF #C8ABF5 #ECE2FC
Accessibility & contrast
On white
3.32
#A474EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#A474EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A474EF
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A474EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A474EF | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#958CA7
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a474ef; /* rgb */ color: rgb(164, 116, 239); /* oklch */ color: oklch(66.1% 0.179 299.5);
Tailwind
colors: {
custom: {
50: '#c29df5',
500: '#a474ef',
950: '#000000',
},
}SCSS
$custom: #a474ef; $custom-light: #c29df5; $custom-dark: #000000;
JSON
{
"hex": "#a474ef",
"rgb": {
"r": 164,
"g": 116,
"b": 239
},
"hsl": {
"h": 263.415,
"s": 79.355,
"l": 69.608
},
"oklch": {
"l": 0.66145,
"c": 0.17949,
"h": 299.5
},
"luminance": 0.26615
}Semantic roles & 50–950 ramp
primary
#A474EF
secondary
#E3F1CE
accent
#DC0A8A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85