#A641AF#A641AF
#A641AF is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.188 H 324.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A641AF |
|---|---|
| RGB | rgb(166, 65, 175) |
| HSL | hsl(295, 46%, 47%) |
| HSV | hsv(295, 63%, 69%) |
| CMYK | cmyk(5.1%, 62.9%, 0%, 31.4%) |
| CIE-LAB | lab(45.61, 56.29, -39.48) |
| CIE-LCH | lch(45.61, 68.76, 324.95°) |
| OKLab | oklab(55.52% 0.1528 -0.1096) |
| OKLCH | oklch(55.52% 0.188 324.4) |
| XYZ | xyz(25.3534, 14.9842, 42.1059) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.45
Ugly Purple
#A442A0
ΔE00 2.81
Purply
#983FB2
ΔE00 3.32
Barney
#AC1DB8
ΔE00 4.64
Purpley Pink
#C83CB9
ΔE00 6.48
Darkorchid
#9932CC
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A641AF #4AAF41
analogous
#6F41AF #A641AF #AF4181
triadic
#A641AF #AFA641 #41AFA6
tetradic
#A641AF #AF6F41 #4AAF41 #4181AF
square
#A641AF #AF6F41 #4AAF41 #4181AF
split-complementary
#A641AF #81AF41 #41AF6F
monochromatic
#512056 #7C3082 #A641AF #BF67C6 #D193D7
Accessibility & contrast
On white
5.25
#A641AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#A641AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A641AF
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A641AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A641AF | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#A95172
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a641af; /* rgb */ color: rgb(166, 65, 175); /* oklch */ color: oklch(55.5% 0.188 324.4);
Tailwind
colors: {
custom: {
50: '#c37cc7',
500: '#a641af',
950: '#000000',
},
}SCSS
$custom: #a641af; $custom-light: #c37cc7; $custom-dark: #000000;
JSON
{
"hex": "#a641af",
"rgb": {
"r": 166,
"g": 65,
"b": 175
},
"hsl": {
"h": 295.091,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.5552,
"c": 0.18802,
"h": 324.4
},
"luminance": 0.14983
}Semantic roles & 50–950 ramp
primary
#A641AF
secondary
#8EC289
accent
#D5525D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82