#A01F9A#A01F9A

#A01F9A is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.207 H 330.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A01F9A
RGBrgb(160, 31, 154)
HSLhsl(303, 68%, 37%)
HSVhsv(303, 81%, 63%)
CMYKcmyk(0%, 80.6%, 3.8%, 37.3%)
CIE-LABlab(39.22, 63.38, -37.14)
CIE-LCHlch(39.22, 73.46, 329.63°)
OKLaboklab(50.36% 0.1798 -0.1027)
OKLCHoklch(50.36% 0.207 330.3)
XYZxyz(20.8199, 10.7883, 31.5514)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F9A #1FA025
analogous
#661FA0 #A01F9A #A01F59
triadic
#A01F9A #9AA01F #1F9AA0
tetradic
#A01F9A #A0661F #1FA025 #1F59A0
square
#A01F9A #A0661F #1FA025 #1F59A0
split-complementary
#A01F9A #59A01F #1FA066
monochromatic
#390B37 #6D1569 #A01F9A #D329CB #DF5AD9

Accessibility & contrast

On white

6.65
#A01F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A01F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01F9A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F9A#FFFFFF#000000##FFFFFF
##A01F9A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06519D
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#A6335D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a01f9a;
/* rgb */ color: rgb(160, 31, 154);
/* oklch */ color: oklch(50.4% 0.207 330.3);
Tailwind
colors: {
  custom: {
    50: '#c06cb8',
    500: '#a01f9a',
    950: '#000000',
  },
}
SCSS
$custom: #a01f9a;
$custom-light: #c06cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f9a",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 302.791,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50364,
    "c": 0.20705,
    "h": 330.3
  },
  "luminance": 0.10787
}

Semantic roles & 50–950 ramp

primary
#A01F9A
secondary
#58C35D
accent
#EA453D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A01F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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