#A01797#A01797

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

Color values

HEX#A01797
RGBrgb(160, 23, 151)
HSLhsl(304, 75%, 36%)
HSVhsv(304, 86%, 63%)
CMYKcmyk(0%, 85.6%, 5.6%, 37.3%)
CIE-LABlab(38.42, 64.77, -36.60)
CIE-LCHlch(38.42, 74.39, 330.53°)
OKLaboklab(49.74% 0.1852 -0.101)
OKLCHoklch(49.74% 0.211 331.4)
XYZxyz(20.3895, 10.3225, 30.1907)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01797 #17A020
analogous
#6417A0 #A01797 #A01752
triadic
#A01797 #97A017 #1797A0
tetradic
#A01797 #A06417 #17A020 #1752A0
square
#A01797 #A06417 #17A020 #1752A0
split-complementary
#A01797 #52A017 #17A064
monochromatic
#350832 #6A0F64 #A01797 #D61FC9 #E54CDB

Accessibility & contrast

On white

6.85
#A01797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A01797
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01797#FFFFFF#000000##FFFFFF
##A017971.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#A72D5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a01797;
/* rgb */ color: rgb(160, 23, 151);
/* oklch */ color: oklch(49.7% 0.211 331.4);
Tailwind
colors: {
  custom: {
    50: '#c069b6',
    500: '#a01797',
    950: '#000000',
  },
}
SCSS
$custom: #a01797;
$custom-light: #c069b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a01797",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 151
  },
  "hsl": {
    "h": 303.942,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.21098,
    "h": 331.4
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#A01797
secondary
#4CC754
accent
#F14336
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #A01797

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

Preview Lab → · Contrast checker → · Palette generator →

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