#A01791#A01791

#A01791 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.207 H 333.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A01791
RGBrgb(160, 23, 145)
HSLhsl(307, 75%, 36%)
HSVhsv(307, 86%, 63%)
CMYKcmyk(0%, 85.6%, 9.4%, 37.3%)
CIE-LABlab(38.08, 63.87, -33.47)
CIE-LCHlch(38.08, 72.11, 332.34°)
OKLaboklab(49.39% 0.1852 -0.092)
OKLCHoklch(49.39% 0.207 333.6)
XYZxyz(19.9146, 10.1325, 27.6895)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01791 #17A026
analogous
#6A17A0 #A01791 #A0174D
triadic
#A01791 #91A017 #1791A0
tetradic
#A01791 #A06A17 #17A026 #174DA0
square
#A01791 #A06A17 #17A026 #174DA0
split-complementary
#A01791 #4DA017 #17A06A
monochromatic
#350830 #6A0F61 #A01791 #D61FC1 #E54CD5

Accessibility & contrast

On white

6.94
#A01791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A01791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01791
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01791#FFFFFF#000000##FFFFFF
##A017911.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4D94
Deuteranopia (green-blind)
#4C608E
Tritanopia (blue-blind)
#A82956
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a01791;
/* rgb */ color: rgb(160, 23, 145);
/* oklch */ color: oklch(49.4% 0.207 333.6);
Tailwind
colors: {
  custom: {
    50: '#c069b1',
    500: '#a01791',
    950: '#000000',
  },
}
SCSS
$custom: #a01791;
$custom-light: #c069b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a01791",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 145
  },
  "hsl": {
    "h": 306.569,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49388,
    "c": 0.20682,
    "h": 333.6
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#A01791
secondary
#4CC759
accent
#F14B36
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #A01791

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

Preview Lab → · Contrast checker → · Palette generator →

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