#A641B7#A641B7
#A641B7 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.195 H 321.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A641B7 |
|---|---|
| RGB | rgb(166, 65, 183) |
| HSL | hsl(291, 48%, 49%) |
| HSV | hsv(291, 64%, 72%) |
| CMYK | cmyk(9.3%, 64.5%, 0%, 28.2%) |
| CIE-LAB | lab(46.05, 57.78, -43.48) |
| CIE-LCH | lch(46.05, 72.31, 323.04°) |
| OKLab | oklab(55.98% 0.153 -0.1212) |
| OKLCH | oklch(55.98% 0.195 321.6) |
| XYZ | xyz(26.1625, 15.3078, 46.3672) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.92
Medium Purple
#9E43A2
ΔE00 3.72
Ugly Purple
#A442A0
ΔE00 4.25
Barney
#AC1DB8
ΔE00 4.43
Darkorchid
#9932CC
ΔE00 5.74
Purpley Pink
#C83CB9
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A641B7 #52B741
analogous
#6B41B7 #A641B7 #B7418D
triadic
#A641B7 #B7A641 #41B7A6
tetradic
#A641B7 #B76B41 #52B741 #418DB7
square
#A641B7 #B76B41 #52B741 #418DB7
split-complementary
#A641B7 #8DB741 #41B76B
monochromatic
#54215D #7D318A #A641B7 #BD6BCA #D198DA
Accessibility & contrast
On white
5.17
#A641B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#A641B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A641B7
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A641B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A641B7 | 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)
#2366BB
Deuteranopia (green-blind)
#4F71B4
Tritanopia (blue-blind)
#A85476
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a641b7; /* rgb */ color: rgb(166, 65, 183); /* oklch */ color: oklch(56.0% 0.195 321.6);
Tailwind
colors: {
custom: {
50: '#c47dcd',
500: '#a641b7',
950: '#000000',
},
}SCSS
$custom: #a641b7; $custom-light: #c47dcd; $custom-dark: #000000;
JSON
{
"hex": "#a641b7",
"rgb": {
"r": 166,
"g": 65,
"b": 183
},
"hsl": {
"h": 291.356,
"s": 47.581,
"l": 48.627
},
"oklch": {
"l": 0.55981,
"c": 0.1952,
"h": 321.6
},
"luminance": 0.15306
}Semantic roles & 50–950 ramp
primary
#A641B7
secondary
#96C68E
accent
#D75164
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82