#A247B2#A247B2
#A247B2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.180 H 321.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A247B2 |
|---|---|
| RGB | rgb(162, 71, 178) |
| HSL | hsl(291, 43%, 49%) |
| HSV | hsv(291, 60%, 70%) |
| CMYK | cmyk(9%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(46.18, 53.14, -40.38) |
| CIE-LCH | lch(46.18, 66.74, 322.77°) |
| OKLab | oklab(55.87% 0.1408 -0.1123) |
| OKLCH | oklch(55.87% 0.18 321.4) |
| XYZ | xyz(25.1885, 15.4034, 43.7572) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.01
Purply
#983FB2
ΔE00 3.07
Ugly Purple
#A442A0
ΔE00 3.68
Barney
#AC1DB8
ΔE00 5.54
Amethyst
#9B5FC0
ΔE00 6.41
Darkorchid
#9932CC
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A247B2 #57B247
analogous
#6D47B2 #A247B2 #B2478D
triadic
#A247B2 #B2A247 #47B2A2
tetradic
#A247B2 #B26D47 #57B247 #478DB2
square
#A247B2 #B26D47 #57B247 #478DB2
split-complementary
#A247B2 #8DB247 #47B26D
monochromatic
#52245B #7A3686 #A247B2 #B970C6 #CF9CD7
Accessibility & contrast
On white
5.15
#A247B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#A247B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A247B2
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A247B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A247B2 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#A45776
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a247b2; /* rgb */ color: rgb(162, 71, 178); /* oklch */ color: oklch(55.9% 0.180 321.4);
Tailwind
colors: {
custom: {
50: '#c080c9',
500: '#a247b2',
950: '#000000',
},
}SCSS
$custom: #a247b2; $custom-light: #c080c9; $custom-dark: #000000;
JSON
{
"hex": "#a247b2",
"rgb": {
"r": 162,
"g": 71,
"b": 178
},
"hsl": {
"h": 291.028,
"s": 42.972,
"l": 48.824
},
"oklch": {
"l": 0.55867,
"c": 0.18013,
"h": 321.4
},
"luminance": 0.15402
}Semantic roles & 50–950 ramp
primary
#A247B2
secondary
#99C491
accent
#D35568
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82