#A01F97#A01F97

#A01F97 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.205 H 331.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A01F97
RGBrgb(160, 31, 151)
HSLhsl(304, 68%, 37%)
HSVhsv(304, 81%, 63%)
CMYKcmyk(0%, 80.6%, 5.6%, 37.3%)
CIE-LABlab(39.05, 62.91, -35.59)
CIE-LCHlch(39.05, 72.28, 330.51°)
OKLaboklab(50.19% 0.1798 -0.0982)
OKLCHoklch(50.19% 0.205 331.4)
XYZxyz(20.5731, 10.6896, 30.2519)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F97 #1FA028
analogous
#681FA0 #A01F97 #A01F57
triadic
#A01F97 #97A01F #1F97A0
tetradic
#A01F97 #A0681F #1FA028 #1F57A0
square
#A01F97 #A0681F #1FA028 #1F57A0
split-complementary
#A01F97 #57A01F #1FA068
monochromatic
#390B36 #6D1567 #A01F97 #D329C7 #DF5AD6

Accessibility & contrast

On white

6.69
#A01F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A01F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01F97
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F97#FFFFFF#000000##FFFFFF
##A01F971.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519A
Deuteranopia (green-blind)
#4B6294
Tritanopia (blue-blind)
#A7315B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a01f97;
/* rgb */ color: rgb(160, 31, 151);
/* oklch */ color: oklch(50.2% 0.205 331.4);
Tailwind
colors: {
  custom: {
    50: '#c06cb6',
    500: '#a01f97',
    950: '#000000',
  },
}
SCSS
$custom: #a01f97;
$custom-light: #c06cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f97",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 304.186,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50189,
    "c": 0.20488,
    "h": 331.4
  },
  "luminance": 0.10688
}

Semantic roles & 50–950 ramp

primary
#A01F97
secondary
#58C35F
accent
#EA493D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #A01F97

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

Preview Lab → · Contrast checker → · Palette generator →

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