#A841B2#A841B2
#A841B2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.192 H 324.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A841B2 |
|---|---|
| RGB | rgb(168, 65, 178) |
| HSL | hsl(295, 47%, 48%) |
| HSV | hsv(295, 63%, 70%) |
| CMYK | cmyk(5.6%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(46.07, 57.33, -40.50) |
| CIE-LCH | lch(46.07, 70.20, 324.76°) |
| OKLab | oklab(55.96% 0.1552 -0.1125) |
| OKLCH | oklch(55.96% 0.192 324.1) |
| XYZ | xyz(26.0739, 15.3213, 43.6948) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.01
Ugly Purple
#A442A0
ΔE00 3.28
Purply
#983FB2
ΔE00 3.51
Barney
#AC1DB8
ΔE00 4.63
Purpley Pink
#C83CB9
ΔE00 6.11
Darkorchid
#9932CC
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A841B2 #4BB241
analogous
#6F41B2 #A841B2 #B24184
triadic
#A841B2 #B2A841 #41B2A8
tetradic
#A841B2 #B26F41 #4BB241 #4184B2
square
#A841B2 #B26F41 #4BB241 #4184B2
split-complementary
#A841B2 #84B241 #41B26F
monochromatic
#532058 #7E3185 #A841B2 #BF68C8 #D295D8
Accessibility & contrast
On white
5.17
#A841B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#A841B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A841B2
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A841B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A841B2 | 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)
#2B65B5
Deuteranopia (green-blind)
#5471AF
Tritanopia (blue-blind)
#AB5274
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a841b2; /* rgb */ color: rgb(168, 65, 178); /* oklch */ color: oklch(56.0% 0.192 324.1);
Tailwind
colors: {
custom: {
50: '#c57dc9',
500: '#a841b2',
950: '#000000',
},
}SCSS
$custom: #a841b2; $custom-light: #c57dc9; $custom-dark: #000000;
JSON
{
"hex": "#a841b2",
"rgb": {
"r": 168,
"g": 65,
"b": 178
},
"hsl": {
"h": 294.69,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.55964,
"c": 0.1917,
"h": 324.1
},
"luminance": 0.1532
}Semantic roles & 50–950 ramp
primary
#A841B2
secondary
#90C48B
accent
#D6525D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82