#A643A0#A643A0
#A643A0 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.9% C 0.172 H 330.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A643A0 |
|---|---|
| RGB | rgb(166, 67, 160) |
| HSL | hsl(304, 42%, 46%) |
| HSV | hsv(304, 60%, 65%) |
| CMYK | cmyk(0%, 59.6%, 3.6%, 34.9%) |
| CIE-LAB | lab(45.17, 52.72, -31.30) |
| CIE-LCH | lch(45.17, 61.31, 329.30°) |
| OKLab | oklab(54.95% 0.1491 -0.0859) |
| OKLCH | oklch(54.95% 0.172 330) |
| XYZ | xyz(24.0780, 14.6610, 34.8125) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 0.55
Medium Purple
#9E43A2
ΔE00 1.94
Purply
#983FB2
ΔE00 5.57
Warm Purple
#952E8F
ΔE00 6.10
Barney
#AC1DB8
ΔE00 6.52
Purpleish
#98568D
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A643A0 #43A649
analogous
#7A43A6 #A643A0 #A6436E
triadic
#A643A0 #A0A643 #43A0A6
tetradic
#A643A0 #A67A43 #43A649 #436EA6
square
#A643A0 #A67A43 #43A649 #436EA6
split-complementary
#A643A0 #6EA643 #43A67A
monochromatic
#4F204C #7A3176 #A643A0 #C165BB #D391CF
Accessibility & contrast
On white
5.34
#A643A0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#A643A0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A643A0
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A643A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A643A0 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C62A3
Deuteranopia (green-blind)
#5C709D
Tritanopia (blue-blind)
#AC4D6B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a643a0; /* rgb */ color: rgb(166, 67, 160); /* oklch */ color: oklch(54.9% 0.172 330.0);
Tailwind
colors: {
custom: {
50: '#c37dbc',
500: '#a643a0',
950: '#000000',
},
}SCSS
$custom: #a643a0; $custom-light: #c37dbc; $custom-dark: #000000;
JSON
{
"hex": "#a643a0",
"rgb": {
"r": 166,
"g": 67,
"b": 160
},
"hsl": {
"h": 303.636,
"s": 42.489,
"l": 45.686
},
"oklch": {
"l": 0.54945,
"c": 0.17209,
"h": 330
},
"luminance": 0.14659
}Semantic roles & 50–950 ramp
primary
#A643A0
secondary
#87BE8A
accent
#D25D56
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A12
muted
#827C81