#A02098#A02098

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

Color values

HEX#A02098
RGBrgb(160, 32, 152)
HSLhsl(304, 67%, 38%)
HSVhsv(304, 80%, 63%)
CMYKcmyk(0%, 80%, 5%, 37.3%)
CIE-LABlab(39.20, 62.81, -35.96)
CIE-LCHlch(39.20, 72.37, 330.21°)
OKLaboklab(50.31% 0.1791 -0.0992)
OKLCHoklch(50.31% 0.205 331)
XYZxyz(20.6812, 10.7753, 30.6903)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02098 #20A028
analogous
#6820A0 #A02098 #A02058
triadic
#A02098 #98A020 #2098A0
tetradic
#A02098 #A06820 #20A028 #2058A0
square
#A02098 #A06820 #20A028 #2058A0
split-complementary
#A02098 #58A020 #20A068
monochromatic
#3A0C37 #6D1668 #A02098 #D32AC8 #DE5CD6

Accessibility & contrast

On white

6.66
#A02098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A02098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02098
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02098#FFFFFF#000000##FFFFFF
##A020981.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519B
Deuteranopia (green-blind)
#4B6295
Tritanopia (blue-blind)
#A7325C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02098;
/* rgb */ color: rgb(160, 32, 152);
/* oklch */ color: oklch(50.3% 0.205 331.0);
Tailwind
colors: {
  custom: {
    50: '#c06cb7',
    500: '#a02098',
    950: '#000000',
  },
}
SCSS
$custom: #a02098;
$custom-light: #c06cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02098",
  "rgb": {
    "r": 160,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 303.75,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50311,
    "c": 0.20474,
    "h": 331
  },
  "luminance": 0.10774
}

Semantic roles & 50–950 ramp

primary
#A02098
secondary
#59C360
accent
#EA493E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02098

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

Preview Lab → · Contrast checker → · Palette generator →

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