#A02198#A02198

#A02198 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.204 H 331.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A02198
RGBrgb(160, 33, 152)
HSLhsl(304, 66%, 38%)
HSVhsv(304, 79%, 63%)
CMYKcmyk(0%, 79.4%, 5%, 37.3%)
CIE-LABlab(39.29, 62.54, -35.81)
CIE-LCHlch(39.29, 72.06, 330.20°)
OKLaboklab(50.38% 0.1783 -0.0988)
OKLCHoklch(50.38% 0.204 331)
XYZxyz(20.7085, 10.8300, 30.6994)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02198 #21A029
analogous
#6921A0 #A02198 #A02158
triadic
#A02198 #98A021 #2198A0
tetradic
#A02198 #A06921 #21A029 #2158A0
square
#A02198 #A06921 #21A029 #2158A0
split-complementary
#A02198 #58A021 #21A069
monochromatic
#3B0C38 #6D1768 #A02198 #D32BC8 #DE5ED6

Accessibility & contrast

On white

6.63
#A02198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A02198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02198
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02198#FFFFFF#000000##FFFFFF
##A021981.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10529B
Deuteranopia (green-blind)
#4B6395
Tritanopia (blue-blind)
#A7335C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02198;
/* rgb */ color: rgb(160, 33, 152);
/* oklch */ color: oklch(50.4% 0.204 331.0);
Tailwind
colors: {
  custom: {
    50: '#c06db7',
    500: '#a02198',
    950: '#000000',
  },
}
SCSS
$custom: #a02198;
$custom-light: #c06db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02198",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 303.78,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.20386,
    "h": 331
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#A02198
secondary
#5BC261
accent
#E94A3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02198

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

Preview Lab → · Contrast checker → · Palette generator →

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