#A643B1#A643B1
#A643B1 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.187 H 323.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A643B1 |
|---|---|
| RGB | rgb(166, 67, 177) |
| HSL | hsl(294, 45%, 48%) |
| HSV | hsv(294, 62%, 69%) |
| CMYK | cmyk(6.2%, 62.1%, 0%, 30.6%) |
| CIE-LAB | lab(46.04, 55.78, -39.98) |
| CIE-LCH | lch(46.04, 68.63, 324.37°) |
| OKLab | oklab(55.86% 0.1505 -0.111) |
| OKLCH | oklch(55.86% 0.187 323.6) |
| XYZ | xyz(25.6681, 15.2970, 43.1871) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.78
Ugly Purple
#A442A0
ΔE00 3.17
Purply
#983FB2
ΔE00 3.36
Barney
#AC1DB8
ΔE00 4.92
Purpley Pink
#C83CB9
ΔE00 6.37
Darkorchid
#9932CC
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A643B1 #4EB143
analogous
#6F43B1 #A643B1 #B14385
triadic
#A643B1 #B1A643 #43B1A6
tetradic
#A643B1 #B16F43 #4EB143 #4385B1
square
#A643B1 #B16F43 #4EB143 #4385B1
split-complementary
#A643B1 #85B143 #43B16F
monochromatic
#532158 #7C3285 #A643B1 #BE6AC7 #D197D8
Accessibility & contrast
On white
5.17
#A643B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#A643B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A643B1
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A643B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A643B1 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E65B4
Deuteranopia (green-blind)
#5471AE
Tritanopia (blue-blind)
#A95374
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a643b1; /* rgb */ color: rgb(166, 67, 177); /* oklch */ color: oklch(55.9% 0.187 323.6);
Tailwind
colors: {
custom: {
50: '#c37ec9',
500: '#a643b1',
950: '#000000',
},
}SCSS
$custom: #a643b1; $custom-light: #c37ec9; $custom-dark: #000000;
JSON
{
"hex": "#a643b1",
"rgb": {
"r": 166,
"g": 67,
"b": 177
},
"hsl": {
"h": 294,
"s": 45.082,
"l": 47.843
},
"oklch": {
"l": 0.55863,
"c": 0.187,
"h": 323.6
},
"luminance": 0.15296
}Semantic roles & 50–950 ramp
primary
#A643B1
secondary
#92C38C
accent
#D55360
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82