#A478CD#A478CD
#A478CD is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.0% C 0.131 H 306.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A478CD |
|---|---|
| RGB | rgb(164, 120, 205) |
| HSL | hsl(271, 46%, 64%) |
| HSV | hsv(271, 41%, 80%) |
| CMYK | cmyk(20%, 41.5%, 0%, 19.6%) |
| CIE-LAB | lab(57.78, 33.55, -37.64) |
| CIE-LCH | lch(57.78, 50.42, 311.71°) |
| OKLab | oklab(64.96% 0.0787 -0.1046) |
| OKLCH | oklch(64.96% 0.131 306.9) |
| XYZ | xyz(33.0436, 25.7335, 60.9721) |
| Luminance | 0.2573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.49
Deep Lilac
#966EBD
ΔE00 4.32
Soft Purple
#A66FB5
ΔE00 5.50
Mediumpurple
#9370DB
ΔE00 5.74
Light Urple
#B36FF6
ΔE00 7.17
Light Purple
#BF77F6
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A478CD #A1CD78
analogous
#7978CD #A478CD #CD78CB
triadic
#A478CD #CDA478 #78CDA4
tetradic
#A478CD #CD7978 #A1CD78 #78CBCD
square
#A478CD #CD7978 #A1CD78 #78CBCD
split-complementary
#A478CD #CBCD78 #78CD79
monochromatic
#673794 #864BBC #A478CD #C2A5DE #E0D1EE
Accessibility & contrast
On white
3.42
#A478CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#A478CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A478CD
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A478CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A478CD | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6589D0
Deuteranopia (green-blind)
#6F8BCB
Tritanopia (blue-blind)
#9E8599
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a478cd; /* rgb */ color: rgb(164, 120, 205); /* oklch */ color: oklch(65.0% 0.131 306.9);
Tailwind
colors: {
custom: {
50: '#c09fdc',
500: '#a478cd',
950: '#000000',
},
}SCSS
$custom: #a478cd; $custom-light: #c09fdc; $custom-dark: #000000;
JSON
{
"hex": "#a478cd",
"rgb": {
"r": 164,
"g": 120,
"b": 205
},
"hsl": {
"h": 271.059,
"s": 45.946,
"l": 63.725
},
"oklch": {
"l": 0.64961,
"c": 0.13088,
"h": 306.9
},
"luminance": 0.25733
}Semantic roles & 50–950 ramp
primary
#A478CD
secondary
#D0DFC1
accent
#B92C70
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83