#A643BA#A643BA
#A643BA is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.195 H 320.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A643BA |
|---|---|
| RGB | rgb(166, 67, 186) |
| HSL | hsl(290, 47%, 50%) |
| HSV | hsv(290, 64%, 73%) |
| CMYK | cmyk(10.8%, 64%, 0%, 27.1%) |
| CIE-LAB | lab(46.54, 57.48, -44.47) |
| CIE-LCH | lch(46.54, 72.67, 322.28°) |
| OKLab | oklab(56.38% 0.1507 -0.1241) |
| OKLCH | oklch(56.38% 0.195 320.5) |
| XYZ | xyz(26.5949, 15.6678, 48.0682) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.17
Medium Purple
#9E43A2
ΔE00 4.23
Ugly Purple
#A442A0
ΔE00 4.78
Barney
#AC1DB8
ΔE00 4.85
Darkorchid
#9932CC
ΔE00 5.63
Amethyst
#9B5FC0
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A643BA #57BA43
analogous
#6B43BA #A643BA #BA4393
triadic
#A643BA #BAA643 #43BAA6
tetradic
#A643BA #BA6B43 #57BA43 #4393BA
square
#A643BA #BA6B43 #57BA43 #4393BA
split-complementary
#A643BA #93BA43 #43BA6B
monochromatic
#562360 #7E338D #A643BA #BC6FCB #D19CDB
Accessibility & contrast
On white
5.08
#A643BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#A643BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A643BA
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A643BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A643BA | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2367BE
Deuteranopia (green-blind)
#4E72B7
Tritanopia (blue-blind)
#A75779
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a643ba; /* rgb */ color: rgb(166, 67, 186); /* oklch */ color: oklch(56.4% 0.195 320.5);
Tailwind
colors: {
custom: {
50: '#c47ecf',
500: '#a643ba',
950: '#000000',
},
}SCSS
$custom: #a643ba; $custom-light: #c47ecf; $custom-dark: #000000;
JSON
{
"hex": "#a643ba",
"rgb": {
"r": 166,
"g": 67,
"b": 186
},
"hsl": {
"h": 289.916,
"s": 47.036,
"l": 49.608
},
"oklch": {
"l": 0.56384,
"c": 0.19521,
"h": 320.5
},
"luminance": 0.15666
}Semantic roles & 50–950 ramp
primary
#A643BA
secondary
#9AC891
accent
#D75168
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82