#A241B2#A241B2
#A241B2 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.189 H 321.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A241B2 |
|---|---|
| RGB | rgb(162, 65, 178) |
| HSL | hsl(292, 47%, 48%) |
| HSV | hsv(292, 63%, 70%) |
| CMYK | cmyk(9%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(45.19, 55.87, -41.96) |
| CIE-LCH | lch(45.19, 69.87, 323.09°) |
| OKLab | oklab(55.15% 0.1482 -0.1169) |
| OKLCH | oklch(55.15% 0.189 321.7) |
| XYZ | xyz(24.8256, 14.6776, 43.6363) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.25
Medium Purple
#9E43A2
ΔE00 2.90
Ugly Purple
#A442A0
ΔE00 3.68
Barney
#AC1DB8
ΔE00 4.39
Darkorchid
#9932CC
ΔE00 5.83
Warm Purple
#952E8F
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A241B2 #51B241
analogous
#6941B2 #A241B2 #B2418A
triadic
#A241B2 #B2A241 #41B2A2
tetradic
#A241B2 #B26941 #51B241 #418AB2
square
#A241B2 #B26941 #51B241 #418AB2
split-complementary
#A241B2 #8AB241 #41B269
monochromatic
#502058 #793185 #A241B2 #BA68C8 #CF95D8
Accessibility & contrast
On white
5.34
#A241B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#A241B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A241B2
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A241B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A241B2 | 1.00 | 5.34 | 3.94 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#4E6FAF
Tritanopia (blue-blind)
#A45374
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a241b2; /* rgb */ color: rgb(162, 65, 178); /* oklch */ color: oklch(55.1% 0.189 321.7);
Tailwind
colors: {
custom: {
50: '#c17cc9',
500: '#a241b2',
950: '#000000',
},
}SCSS
$custom: #a241b2; $custom-light: #c17cc9; $custom-dark: #000000;
JSON
{
"hex": "#a241b2",
"rgb": {
"r": 162,
"g": 65,
"b": 178
},
"hsl": {
"h": 291.504,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.55147,
"c": 0.18873,
"h": 321.7
},
"luminance": 0.14676
}Semantic roles & 50–950 ramp
primary
#A241B2
secondary
#93C48B
accent
#D65264
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82