#A641B2#A641B2
#A641B2 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.191 H 323.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A641B2 |
|---|---|
| RGB | rgb(166, 65, 178) |
| HSL | hsl(294, 47%, 48%) |
| HSV | hsv(294, 63%, 70%) |
| CMYK | cmyk(6.7%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(45.78, 56.84, -40.99) |
| CIE-LCH | lch(45.78, 70.08, 324.21°) |
| OKLab | oklab(55.69% 0.1529 -0.1139) |
| OKLCH | oklch(55.69% 0.191 323.3) |
| XYZ | xyz(25.6513, 15.1034, 43.6750) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.91
Purply
#983FB2
ΔE00 3.09
Ugly Purple
#A442A0
ΔE00 3.36
Barney
#AC1DB8
ΔE00 4.51
Darkorchid
#9932CC
ΔE00 6.41
Purpley Pink
#C83CB9
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A641B2 #4DB241
analogous
#6D41B2 #A641B2 #B24186
triadic
#A641B2 #B2A641 #41B2A6
tetradic
#A641B2 #B26D41 #4DB241 #4186B2
square
#A641B2 #B26D41 #4DB241 #4186B2
split-complementary
#A641B2 #86B241 #41B26D
monochromatic
#522058 #7C3185 #A641B2 #BE68C8 #D195D8
Accessibility & contrast
On white
5.22
#A641B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#A641B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A641B2
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A641B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A641B2 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#5270AF
Tritanopia (blue-blind)
#A95274
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a641b2; /* rgb */ color: rgb(166, 65, 178); /* oklch */ color: oklch(55.7% 0.191 323.3);
Tailwind
colors: {
custom: {
50: '#c37dc9',
500: '#a641b2',
950: '#000000',
},
}SCSS
$custom: #a641b2; $custom-light: #c37dc9; $custom-dark: #000000;
JSON
{
"hex": "#a641b2",
"rgb": {
"r": 166,
"g": 65,
"b": 178
},
"hsl": {
"h": 293.628,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.5569,
"c": 0.19069,
"h": 323.3
},
"luminance": 0.15102
}Semantic roles & 50–950 ramp
primary
#A641B2
secondary
#91C48B
accent
#D65260
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82