#A478CF#A478CF
#A478CF is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.1% C 0.133 H 306.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A478CF |
|---|---|
| RGB | rgb(164, 120, 207) |
| HSL | hsl(270, 48%, 64%) |
| HSV | hsv(270, 42%, 81%) |
| CMYK | cmyk(20.8%, 42%, 0%, 18.8%) |
| CIE-LAB | lab(57.88, 34.00, -38.62) |
| CIE-LCH | lch(57.88, 51.46, 311.36°) |
| OKLab | oklab(65.06% 0.079 -0.1074) |
| OKLCH | oklch(65.06% 0.133 306.3) |
| XYZ | xyz(33.2865, 25.8307, 62.2516) |
| Luminance | 0.2583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.85
Deep Lilac
#966EBD
ΔE00 4.48
Mediumpurple
#9370DB
ΔE00 5.45
Soft Purple
#A66FB5
ΔE00 5.84
Light Urple
#B36FF6
ΔE00 6.83
Light Purple
#BF77F6
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A478CF #A3CF78
analogous
#7978CF #A478CF #CF78CF
triadic
#A478CF #CFA478 #78CFA4
tetradic
#A478CF #CF7978 #A3CF78 #78CFCF
square
#A478CF #CF7978 #A3CF78 #78CFCF
split-complementary
#A478CF #CFCF78 #78CF79
monochromatic
#673697 #864BBF #A478CF #C2A5DF #E1D2EF
Accessibility & contrast
On white
3.41
#A478CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#A478CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A478CF
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A478CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A478CF | 1.00 | 3.41 | 6.17 | 6.17 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6489D2
Deuteranopia (green-blind)
#6E8BCD
Tritanopia (blue-blind)
#9E869A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a478cf; /* rgb */ color: rgb(164, 120, 207); /* oklch */ color: oklch(65.1% 0.133 306.3);
Tailwind
colors: {
custom: {
50: '#c09fde',
500: '#a478cf',
950: '#000000',
},
}SCSS
$custom: #a478cf; $custom-light: #c09fde; $custom-dark: #000000;
JSON
{
"hex": "#a478cf",
"rgb": {
"r": 164,
"g": 120,
"b": 207
},
"hsl": {
"h": 270.345,
"s": 47.541,
"l": 64.118
},
"oklch": {
"l": 0.65061,
"c": 0.13338,
"h": 306.3
},
"luminance": 0.2583
}Semantic roles & 50–950 ramp
primary
#A478CF
secondary
#D1E1C2
accent
#BB2B72
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83