#A475F2#A475F2
#A475F2 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.5% C 0.182 H 298.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A475F2 |
|---|---|
| RGB | rgb(164, 117, 242) |
| HSL | hsl(263, 83%, 70%) |
| HSV | hsv(263, 52%, 95%) |
| CMYK | cmyk(32.2%, 51.7%, 0%, 5.1%) |
| CIE-LAB | lab(59.00, 44.09, -56.44) |
| CIE-LCH | lch(59.00, 71.61, 308.00°) |
| OKLab | oklab(66.48% 0.0873 -0.1593) |
| OKLCH | oklch(66.48% 0.182 298.7) |
| XYZ | xyz(37.6943, 27.0255, 87.2177) |
| Luminance | 0.2703 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.08
Mediumpurple
#9370DB
ΔE00 4.42
Easter Purple
#C071FE
ΔE00 5.04
Light Purple
#BF77F6
ΔE00 5.04
Lighter Purple
#A55AF4
ΔE00 6.43
Periwinkle (survey)
#8E82FE
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A475F2 #C3F275
analogous
#7584F2 #A475F2 #E275F2
triadic
#A475F2 #F2A475 #75F2A4
tetradic
#A475F2 #F27584 #C3F275 #75F2E2
square
#A475F2 #F27584 #C3F275 #75F2E2
split-complementary
#A475F2 #F2E275 #84F275
monochromatic
#5E14D8 #7F3DED #A475F2 #C9ADF7 #EDE3FC
Accessibility & contrast
On white
3.28
#A475F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#A475F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A475F2
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A475F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A475F2 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#538DEF
Tritanopia (blue-blind)
#938DA9
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a475f2; /* rgb */ color: rgb(164, 117, 242); /* oklch */ color: oklch(66.5% 0.182 298.7);
Tailwind
colors: {
custom: {
50: '#c29ef7',
500: '#a475f2',
950: '#000000',
},
}SCSS
$custom: #a475f2; $custom-light: #c29ef7; $custom-dark: #000000;
JSON
{
"hex": "#a475f2",
"rgb": {
"r": 164,
"g": 117,
"b": 242
},
"hsl": {
"h": 262.56,
"s": 82.781,
"l": 70.392
},
"oklch": {
"l": 0.66482,
"c": 0.18168,
"h": 298.7
},
"luminance": 0.27026
}Semantic roles & 50–950 ramp
primary
#A475F2
secondary
#E6F3D0
accent
#DF068E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85