#A01F8C#A01F8C

#A01F8C is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.6% C 0.197 H 335.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A01F8C
RGBrgb(160, 31, 140)
HSLhsl(309, 68%, 37%)
HSVhsv(309, 81%, 63%)
CMYKcmyk(0%, 80.6%, 12.5%, 37.3%)
CIE-LABlab(38.46, 61.26, -29.81)
CIE-LCHlch(38.46, 68.13, 334.05°)
OKLaboklab(49.58% 0.1795 -0.0815)
OKLCHoklch(49.58% 0.197 335.6)
XYZxyz(19.7211, 10.3488, 25.7648)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F8C #1FA033
analogous
#731FA0 #A01F8C #A01F4C
triadic
#A01F8C #8CA01F #1F8CA0
tetradic
#A01F8C #A0731F #1FA033 #1F4CA0
square
#A01F8C #A0731F #1FA033 #1F4CA0
split-complementary
#A01F8C #4CA01F #1FA073
monochromatic
#390B32 #6D155F #A01F8C #D329B9 #DF5ACB

Accessibility & contrast

On white

6.84
#A01F8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A01F8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01F8C
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F8C#FFFFFF#000000##FFFFFF
##A01F8C1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#506189
Tritanopia (blue-blind)
#A82B55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a01f8c;
/* rgb */ color: rgb(160, 31, 140);
/* oklch */ color: oklch(49.6% 0.197 335.6);
Tailwind
colors: {
  custom: {
    50: '#c06bae',
    500: '#a01f8c',
    950: '#000000',
  },
}
SCSS
$custom: #a01f8c;
$custom-light: #c06bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f8c",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 309.302,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.19713,
    "h": 335.6
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#A01F8C
secondary
#58C368
accent
#EA583D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A01F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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