#A02897#A02897

#A02897 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.196 H 331.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A02897
RGBrgb(160, 40, 151)
HSLhsl(305, 60%, 39%)
HSVhsv(305, 75%, 63%)
CMYKcmyk(0%, 75%, 5.6%, 37.3%)
CIE-LABlab(39.96, 60.30, -34.15)
CIE-LCHlch(39.96, 69.30, 330.48°)
OKLaboklab(50.84% 0.1723 -0.0941)
OKLCHoklch(50.84% 0.196 331.4)
XYZxyz(20.8419, 11.2272, 30.3415)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02897 #28A031
analogous
#6D28A0 #A02897 #A0285B
triadic
#A02897 #97A028 #2897A0
tetradic
#A02897 #A06D28 #28A031 #285BA0
square
#A02897 #A06D28 #28A031 #285BA0
split-complementary
#A02897 #5BA028 #28A06D
monochromatic
#3E103B #6F1C69 #A02897 #CD38C2 #D969D1

Accessibility & contrast

On white

6.47
#A02897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A02897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02897
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02897#FFFFFF#000000##FFFFFF
##A028971.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549A
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#A7375D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02897;
/* rgb */ color: rgb(160, 40, 151);
/* oklch */ color: oklch(50.8% 0.196 331.4);
Tailwind
colors: {
  custom: {
    50: '#c06fb6',
    500: '#a02897',
    950: '#000000',
  },
}
SCSS
$custom: #a02897;
$custom-light: #c06fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02897",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 304.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50838,
    "c": 0.19628,
    "h": 331.4
  },
  "luminance": 0.11226
}

Semantic roles & 50–950 ramp

primary
#A02897
secondary
#64C06B
accent
#E35145
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02897

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

Preview Lab → · Contrast checker → · Palette generator →

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