#A249B2#A249B2
#A249B2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.1% C 0.177 H 321.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A249B2 |
|---|---|
| RGB | rgb(162, 73, 178) |
| HSL | hsl(291, 42%, 49%) |
| HSV | hsv(291, 59%, 70%) |
| CMYK | cmyk(9%, 59%, 0%, 30.2%) |
| CIE-LAB | lab(46.53, 52.19, -39.83) |
| CIE-LCH | lch(46.53, 65.66, 322.65°) |
| OKLab | oklab(56.12% 0.1383 -0.1107) |
| OKLCH | oklch(56.12% 0.177 321.3) |
| XYZ | xyz(25.3178, 15.6620, 43.8003) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.17
Purply
#983FB2
ΔE00 3.42
Ugly Purple
#A442A0
ΔE00 3.78
Barney
#AC1DB8
ΔE00 5.95
Amethyst
#9B5FC0
ΔE00 6.05
Deep Lavender
#8D5EB7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A249B2 #59B249
analogous
#6E49B2 #A249B2 #B2498E
triadic
#A249B2 #B2A249 #49B2A2
tetradic
#A249B2 #B26E49 #59B249 #498EB2
square
#A249B2 #B26E49 #59B249 #498EB2
split-complementary
#A249B2 #8EB249 #49B26E
monochromatic
#53255B #7B3787 #A249B2 #B973C5 #CF9ED7
Accessibility & contrast
On white
5.08
#A249B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#A249B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A249B2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A249B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A249B2 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5472AF
Tritanopia (blue-blind)
#A45977
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a249b2; /* rgb */ color: rgb(162, 73, 178); /* oklch */ color: oklch(56.1% 0.177 321.3);
Tailwind
colors: {
custom: {
50: '#c081c9',
500: '#a249b2',
950: '#000000',
},
}SCSS
$custom: #a249b2; $custom-light: #c081c9; $custom-dark: #000000;
JSON
{
"hex": "#a249b2",
"rgb": {
"r": 162,
"g": 73,
"b": 178
},
"hsl": {
"h": 290.857,
"s": 41.833,
"l": 49.216
},
"oklch": {
"l": 0.56119,
"c": 0.17715,
"h": 321.3
},
"luminance": 0.15661
}Semantic roles & 50–950 ramp
primary
#A249B2
secondary
#9AC493
accent
#D25669
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82