#A02997#A02997

#A02997 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.195 H 331.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A02997
RGBrgb(160, 41, 151)
HSLhsl(305, 59%, 39%)
HSVhsv(305, 74%, 63%)
CMYKcmyk(0%, 74.4%, 5.6%, 37.3%)
CIE-LABlab(40.07, 59.98, -33.97)
CIE-LCHlch(40.07, 68.93, 330.47°)
OKLaboklab(50.92% 0.1713 -0.0935)
OKLCHoklch(50.92% 0.195 331.4)
XYZxyz(20.8761, 11.2955, 30.3529)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02997 #29A032
analogous
#6E29A0 #A02997 #A0295C
triadic
#A02997 #97A029 #2997A0
tetradic
#A02997 #A06E29 #29A032 #295CA0
square
#A02997 #A06E29 #29A032 #295CA0
split-complementary
#A02997 #5CA029 #29A06E
monochromatic
#3F103B #6F1D69 #A02997 #CC3AC1 #D96AD1

Accessibility & contrast

On white

6.44
#A02997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A02997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02997
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02997#FFFFFF#000000##FFFFFF
##A029971.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#4F6494
Tritanopia (blue-blind)
#A7375E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02997;
/* rgb */ color: rgb(160, 41, 151);
/* oklch */ color: oklch(50.9% 0.195 331.4);
Tailwind
colors: {
  custom: {
    50: '#c06fb6',
    500: '#a02997',
    950: '#000000',
  },
}
SCSS
$custom: #a02997;
$custom-light: #c06fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02997",
  "rgb": {
    "r": 160,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 304.538,
    "s": 59.204,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.19522,
    "h": 331.4
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#A02997
secondary
#65BF6C
accent
#E25145
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02997

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

Preview Lab → · Contrast checker → · Palette generator →

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