#A02796#A02796

#A02796 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.197 H 331.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A02796
RGBrgb(160, 39, 150)
HSLhsl(305, 61%, 39%)
HSVhsv(305, 76%, 63%)
CMYKcmyk(0%, 75.6%, 6.2%, 37.3%)
CIE-LABlab(39.80, 60.46, -33.80)
CIE-LCHlch(39.80, 69.27, 330.79°)
OKLaboklab(50.7% 0.1732 -0.0931)
OKLCHoklch(50.7% 0.197 331.7)
XYZxyz(20.7278, 11.1283, 29.9045)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02796 #27A031
analogous
#6E27A0 #A02796 #A0275A
triadic
#A02796 #96A027 #2796A0
tetradic
#A02796 #A06E27 #27A031 #275AA0
square
#A02796 #A06E27 #27A031 #275AA0
split-complementary
#A02796 #5AA027 #27A06E
monochromatic
#3E0F3A #6F1B68 #A02796 #CE36C1 #DA67D1

Accessibility & contrast

On white

6.51
#A02796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02796
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02796#FFFFFF#000000##FFFFFF
##A027961.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02796;
/* rgb */ color: rgb(160, 39, 150);
/* oklch */ color: oklch(50.7% 0.197 331.7);
Tailwind
colors: {
  custom: {
    50: '#c06fb5',
    500: '#a02796',
    950: '#000000',
  },
}
SCSS
$custom: #a02796;
$custom-light: #c06fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a02796",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 304.959,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.19658,
    "h": 331.7
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A02796

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

Preview Lab → · Contrast checker → · Palette generator →

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