#A04FC2#A04FC2
#A04FC2 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.6% C 0.183 H 314.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A04FC2 |
|---|---|
| RGB | rgb(160, 79, 194) |
| HSL | hsl(282, 49%, 54%) |
| HSV | hsv(282, 59%, 76%) |
| CMYK | cmyk(17.5%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(48.21, 52.03, -46.50) |
| CIE-LCH | lch(48.21, 69.78, 318.21°) |
| OKLab | oklab(57.58% 0.1288 -0.1302) |
| OKLCH | oklch(57.58% 0.183 314.7) |
| XYZ | xyz(27.0292, 16.9614, 52.8785) |
| Luminance | 0.1696 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.99
Purply
#983FB2
ΔE00 4.79
Deep Lavender
#8D5EB7
ΔE00 5.19
Lightish Purple
#A552E6
ΔE00 5.74
Mediumorchid
#BA55D3
ΔE00 5.87
Darkorchid
#9932CC
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A04FC2 #71C24F
analogous
#664FC2 #A04FC2 #C24FAA
triadic
#A04FC2 #C2A04F #4FC2A0
tetradic
#A04FC2 #C2664F #71C24F #4FAAC2
square
#A04FC2 #C2664F #71C24F #4FAAC2
split-complementary
#A04FC2 #AAC24F #4FC266
monochromatic
#5A2770 #7F379D #A04FC2 #B97CD2 #D1AAE2
Accessibility & contrast
On white
4.78
#A04FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#A04FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A04FC2
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A04FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A04FC2 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#4D75BF
Tritanopia (blue-blind)
#9D6381
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a04fc2; /* rgb */ color: rgb(160, 79, 194); /* oklch */ color: oklch(57.6% 0.183 314.7);
Tailwind
colors: {
custom: {
50: '#bf84d5',
500: '#a04fc2',
950: '#000000',
},
}SCSS
$custom: #a04fc2; $custom-light: #bf84d5; $custom-dark: #000000;
JSON
{
"hex": "#a04fc2",
"rgb": {
"r": 160,
"g": 79,
"b": 194
},
"hsl": {
"h": 282.261,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.57575,
"c": 0.18319,
"h": 314.7
},
"luminance": 0.16961
}Semantic roles & 50–950 ramp
primary
#A04FC2
secondary
#ACCF9E
accent
#D85078
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83