#A246AA#A246AA
#A246AA is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.174 H 324.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A246AA |
|---|---|
| RGB | rgb(162, 70, 170) |
| HSL | hsl(295, 42%, 47%) |
| HSV | hsv(295, 59%, 67%) |
| CMYK | cmyk(4.7%, 58.8%, 0%, 33.3%) |
| CIE-LAB | lab(45.59, 52.08, -36.61) |
| CIE-LCH | lch(45.59, 63.66, 324.89°) |
| OKLab | oklab(55.3% 0.1416 -0.1014) |
| OKLCH | oklch(55.3% 0.174 324.4) |
| XYZ | xyz(24.3455, 14.9653, 39.6287) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.66
Ugly Purple
#A442A0
ΔE00 2.19
Purply
#983FB2
ΔE00 3.66
Barney
#AC1DB8
ΔE00 5.74
Warm Purple
#952E8F
ΔE00 6.93
Purpley Pink
#C83CB9
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A246AA #4EAA46
analogous
#7046AA #A246AA #AA4680
triadic
#A246AA #AAA246 #46AAA2
tetradic
#A246AA #AA7046 #4EAA46 #4680AA
square
#A246AA #AA7046 #4EAA46 #4680AA
split-complementary
#A246AA #80AA46 #46AA70
monochromatic
#4F2253 #79347F #A246AA #BB6BC2 #CF96D4
Accessibility & contrast
On white
5.26
#A246AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#A246AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A246AA
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A246AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A246AA | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#A55471
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a246aa; /* rgb */ color: rgb(162, 70, 170); /* oklch */ color: oklch(55.3% 0.174 324.4);
Tailwind
colors: {
custom: {
50: '#c07fc4',
500: '#a246aa',
950: '#000000',
},
}SCSS
$custom: #a246aa; $custom-light: #c07fc4; $custom-dark: #000000;
JSON
{
"hex": "#a246aa",
"rgb": {
"r": 162,
"g": 70,
"b": 170
},
"hsl": {
"h": 295.2,
"s": 41.667,
"l": 47.059
},
"oklch": {
"l": 0.55296,
"c": 0.17413,
"h": 324.4
},
"luminance": 0.14964
}Semantic roles & 50–950 ramp
primary
#A246AA
secondary
#90C08C
accent
#D15660
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A12
muted
#827C81