#A641B5#A641B5
#A641B5 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.193 H 322.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A641B5 |
|---|---|
| RGB | rgb(166, 65, 181) |
| HSL | hsl(292, 47%, 48%) |
| HSV | hsv(292, 64%, 71%) |
| CMYK | cmyk(8.3%, 64.1%, 0%, 29%) |
| CIE-LAB | lab(45.94, 57.40, -42.49) |
| CIE-LCH | lch(45.94, 71.42, 323.49°) |
| OKLab | oklab(55.86% 0.153 -0.1183) |
| OKLCH | oklch(55.86% 0.193 322.3) |
| XYZ | xyz(25.9558, 15.2252, 45.2787) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.96
Medium Purple
#9E43A2
ΔE00 3.39
Ugly Purple
#A442A0
ΔE00 3.90
Barney
#AC1DB8
ΔE00 4.44
Darkorchid
#9932CC
ΔE00 6.00
Purpley Pink
#C83CB9
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A641B5 #50B541
analogous
#6C41B5 #A641B5 #B5418A
triadic
#A641B5 #B5A641 #41B5A6
tetradic
#A641B5 #B56C41 #50B541 #418AB5
square
#A641B5 #B56C41 #50B541 #418AB5
split-complementary
#A641B5 #8AB541 #41B56C
monochromatic
#53215B #7D3188 #A641B5 #BD6AC9 #D197DA
Accessibility & contrast
On white
5.19
#A641B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#A641B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A641B5
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A641B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A641B5 | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2665B8
Deuteranopia (green-blind)
#5071B2
Tritanopia (blue-blind)
#A85375
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a641b5; /* rgb */ color: rgb(166, 65, 181); /* oklch */ color: oklch(55.9% 0.193 322.3);
Tailwind
colors: {
custom: {
50: '#c37dcc',
500: '#a641b5',
950: '#000000',
},
}SCSS
$custom: #a641b5; $custom-light: #c37dcc; $custom-dark: #000000;
JSON
{
"hex": "#a641b5",
"rgb": {
"r": 166,
"g": 65,
"b": 181
},
"hsl": {
"h": 292.241,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.55864,
"c": 0.19339,
"h": 322.3
},
"luminance": 0.15224
}Semantic roles & 50–950 ramp
primary
#A641B5
secondary
#94C58C
accent
#D75162
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82