#A01796#A01796

#A01796 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.210 H 331.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A01796
RGBrgb(160, 23, 150)
HSLhsl(304, 75%, 36%)
HSVhsv(304, 86%, 63%)
CMYKcmyk(0%, 85.6%, 6.2%, 37.3%)
CIE-LABlab(38.36, 64.62, -36.08)
CIE-LCHlch(38.36, 74.01, 330.82°)
OKLaboklab(49.68% 0.1852 -0.0995)
OKLCHoklch(49.68% 0.21 331.7)
XYZxyz(20.3087, 10.2901, 29.7648)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01796 #17A021
analogous
#6517A0 #A01796 #A01751
triadic
#A01796 #96A017 #1796A0
tetradic
#A01796 #A06517 #17A021 #1751A0
square
#A01796 #A06517 #17A021 #1751A0
split-complementary
#A01796 #51A017 #17A065
monochromatic
#350832 #6A0F64 #A01796 #D61FC8 #E54CDA

Accessibility & contrast

On white

6.87
#A01796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A01796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01796
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01796#FFFFFF#000000##FFFFFF
##A017961.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F99
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#A72C59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a01796;
/* rgb */ color: rgb(160, 23, 150);
/* oklch */ color: oklch(49.7% 0.210 331.7);
Tailwind
colors: {
  custom: {
    50: '#c069b5',
    500: '#a01796',
    950: '#000000',
  },
}
SCSS
$custom: #a01796;
$custom-light: #c069b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a01796",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 304.38,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49677,
    "c": 0.21028,
    "h": 331.7
  },
  "luminance": 0.10288
}

Semantic roles & 50–950 ramp

primary
#A01796
secondary
#4CC755
accent
#F14436
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #A01796

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

Preview Lab → · Contrast checker → · Palette generator →

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