#A02197#A02197

#A02197 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.203 H 331.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A02197
RGBrgb(160, 33, 151)
HSLhsl(304, 66%, 38%)
HSVhsv(304, 79%, 63%)
CMYKcmyk(0%, 79.4%, 5.6%, 37.3%)
CIE-LABlab(39.24, 62.38, -35.29)
CIE-LCHlch(39.24, 71.67, 330.50°)
OKLaboklab(50.32% 0.1783 -0.0973)
OKLCHoklch(50.32% 0.203 331.4)
XYZxyz(20.6270, 10.7974, 30.2699)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02197 #21A02A
analogous
#6921A0 #A02197 #A02157
triadic
#A02197 #97A021 #2197A0
tetradic
#A02197 #A06921 #21A02A #2157A0
square
#A02197 #A06921 #21A02A #2157A0
split-complementary
#A02197 #57A021 #21A069
monochromatic
#3B0C37 #6D1767 #A02197 #D32BC7 #DE5ED5

Accessibility & contrast

On white

6.65
#A02197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A02197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02197
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02197#FFFFFF#000000##FFFFFF
##A021971.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12519A
Deuteranopia (green-blind)
#4C6294
Tritanopia (blue-blind)
#A7325C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02197;
/* rgb */ color: rgb(160, 33, 151);
/* oklch */ color: oklch(50.3% 0.203 331.4);
Tailwind
colors: {
  custom: {
    50: '#c06cb6',
    500: '#a02197',
    950: '#000000',
  },
}
SCSS
$custom: #a02197;
$custom-light: #c06cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02197",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 304.252,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5032,
    "c": 0.20313,
    "h": 331.4
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#A02197
secondary
#5BC262
accent
#E94B3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02197

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A02197 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva