#A02A97#A02A97

#A02A97 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.194 H 331.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A02A97
RGBrgb(160, 42, 151)
HSLhsl(305, 58%, 40%)
HSVhsv(305, 74%, 63%)
CMYKcmyk(0%, 73.8%, 5.6%, 37.3%)
CIE-LABlab(40.19, 59.65, -33.79)
CIE-LCHlch(40.19, 68.55, 330.47°)
OKLaboklab(51% 0.1704 -0.093)
OKLCHoklch(51% 0.194 331.4)
XYZxyz(20.9111, 11.3656, 30.3646)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02A97 #2AA033
analogous
#6E2AA0 #A02A97 #A02A5C
triadic
#A02A97 #97A02A #2A97A0
tetradic
#A02A97 #A06E2A #2AA033 #2A5CA0
square
#A02A97 #A06E2A #2AA033 #2A5CA0
split-complementary
#A02A97 #5CA02A #2AA06E
monochromatic
#3F113C #701D69 #A02A97 #CC3CC1 #D86CD0

Accessibility & contrast

On white

6.42
#A02A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A02A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02A97
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02A97#FFFFFF#000000##FFFFFF
##A02A971.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#4F6494
Tritanopia (blue-blind)
#A7385E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a02a97;
/* rgb */ color: rgb(160, 42, 151);
/* oklch */ color: oklch(51.0% 0.194 331.4);
Tailwind
colors: {
  custom: {
    50: '#c070b6',
    500: '#a02a97',
    950: '#000000',
  },
}
SCSS
$custom: #a02a97;
$custom-light: #c070b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02a97",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 304.576,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51002,
    "c": 0.19412,
    "h": 331.4
  },
  "luminance": 0.11364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A02A97

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

Preview Lab → · Contrast checker → · Palette generator →

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