#A02797#A02797

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

Color values

HEX#A02797
RGBrgb(160, 39, 151)
HSLhsl(304, 61%, 39%)
HSVhsv(304, 76%, 63%)
CMYKcmyk(0%, 75.6%, 5.6%, 37.3%)
CIE-LABlab(39.85, 60.62, -34.33)
CIE-LCHlch(39.85, 69.66, 330.48°)
OKLaboklab(50.76% 0.1732 -0.0946)
OKLCHoklch(50.76% 0.197 331.4)
XYZxyz(20.8086, 11.1607, 30.3304)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02797 #27A030
analogous
#6D27A0 #A02797 #A0275B
triadic
#A02797 #97A027 #2797A0
tetradic
#A02797 #A06D27 #27A030 #275BA0
square
#A02797 #A06D27 #27A030 #275BA0
split-complementary
#A02797 #5BA027 #27A06D
monochromatic
#3E0F3A #6F1B69 #A02797 #CE36C3 #DA67D2

Accessibility & contrast

On white

6.50
#A02797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A02797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02797
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02797#FFFFFF#000000##FFFFFF
##A027971.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02797;
/* rgb */ color: rgb(160, 39, 151);
/* oklch */ color: oklch(50.8% 0.197 331.4);
Tailwind
colors: {
  custom: {
    50: '#c06fb6',
    500: '#a02797',
    950: '#000000',
  },
}
SCSS
$custom: #a02797;
$custom-light: #c06fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02797",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 304.463,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50758,
    "c": 0.19732,
    "h": 331.4
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#A02797
secondary
#63C06A
accent
#E45044
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02797

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

Preview Lab → · Contrast checker → · Palette generator →

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