#A478CC#A478CC
#A478CC is a light, vivid violet. Relative luminance 0.257; OKLCH L 64.9% C 0.130 H 307.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A478CC |
|---|---|
| RGB | rgb(164, 120, 204) |
| HSL | hsl(271, 45%, 64%) |
| HSV | hsv(271, 41%, 80%) |
| CMYK | cmyk(19.6%, 41.2%, 0%, 20%) |
| CIE-LAB | lab(57.74, 33.32, -37.14) |
| CIE-LCH | lch(57.74, 49.90, 311.89°) |
| OKLab | oklab(64.91% 0.0785 -0.1032) |
| OKLCH | oklch(64.91% 0.13 307.3) |
| XYZ | xyz(32.9233, 25.6854, 60.3384) |
| Luminance | 0.2569 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.31
Deep Lilac
#966EBD
ΔE00 4.25
Soft Purple
#A66FB5
ΔE00 5.32
Mediumpurple
#9370DB
ΔE00 5.89
Light Urple
#B36FF6
ΔE00 7.34
Light Purple
#BF77F6
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A478CC #A0CC78
analogous
#7A78CC #A478CC #CC78CA
triadic
#A478CC #CCA478 #78CCA4
tetradic
#A478CC #CC7A78 #A0CC78 #78CACC
square
#A478CC #CC7A78 #A0CC78 #78CACC
split-complementary
#A478CC #CACC78 #78CC7A
monochromatic
#673792 #864CBB #A478CC #C2A4DD #E0D1EE
Accessibility & contrast
On white
3.42
#A478CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#A478CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A478CC
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A478CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A478CC | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6589CF
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#9E8598
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a478cc; /* rgb */ color: rgb(164, 120, 204); /* oklch */ color: oklch(64.9% 0.130 307.3);
Tailwind
colors: {
custom: {
50: '#c09fdc',
500: '#a478cc',
950: '#000000',
},
}SCSS
$custom: #a478cc; $custom-light: #c09fdc; $custom-dark: #000000;
JSON
{
"hex": "#a478cc",
"rgb": {
"r": 164,
"g": 120,
"b": 204
},
"hsl": {
"h": 271.429,
"s": 45.161,
"l": 63.529
},
"oklch": {
"l": 0.64911,
"c": 0.12963,
"h": 307.3
},
"luminance": 0.25685
}Semantic roles & 50–950 ramp
primary
#A478CC
secondary
#CFDFC1
accent
#B82D6F
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83