#A02A98#A02A98

#A02A98 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.195 H 331.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A02A98
RGBrgb(160, 42, 152)
HSLhsl(304, 58%, 40%)
HSVhsv(304, 74%, 63%)
CMYKcmyk(0%, 73.8%, 5%, 37.3%)
CIE-LABlab(40.24, 59.81, -34.31)
CIE-LCHlch(40.24, 68.95, 330.16°)
OKLaboklab(51.06% 0.1704 -0.0945)
OKLCHoklch(51.06% 0.195 331)
XYZxyz(20.9926, 11.3982, 30.7941)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02A98 #2AA032
analogous
#6D2AA0 #A02A98 #A02A5D
triadic
#A02A98 #98A02A #2A98A0
tetradic
#A02A98 #A06D2A #2AA032 #2A5DA0
square
#A02A98 #A06D2A #2AA032 #2A5DA0
split-complementary
#A02A98 #5DA02A #2AA06D
monochromatic
#3F113C #701D6A #A02A98 #CC3CC2 #D86CD1

Accessibility & contrast

On white

6.40
#A02A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A02A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02A98
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02A98#FFFFFF#000000##FFFFFF
##A02A981.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549B
Deuteranopia (green-blind)
#4F6595
Tritanopia (blue-blind)
#A6395E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a02a98;
/* rgb */ color: rgb(160, 42, 152);
/* oklch */ color: oklch(51.1% 0.195 331.0);
Tailwind
colors: {
  custom: {
    50: '#c070b7',
    500: '#a02a98',
    950: '#000000',
  },
}
SCSS
$custom: #a02a98;
$custom-light: #c070b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02a98",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 304.068,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51058,
    "c": 0.19489,
    "h": 331
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

primary
#A02A98
secondary
#67BF6D
accent
#E25146
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02A98

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

Preview Lab → · Contrast checker → · Palette generator →

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