#A01F8F#A01F8F

#A01F8F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.199 H 334.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A01F8F
RGBrgb(160, 31, 143)
HSLhsl(308, 68%, 37%)
HSVhsv(308, 81%, 63%)
CMYKcmyk(0%, 80.6%, 10.6%, 37.3%)
CIE-LABlab(38.62, 61.70, -31.40)
CIE-LCHlch(38.62, 69.23, 333.03°)
OKLaboklab(49.74% 0.1797 -0.0861)
OKLCHoklch(49.74% 0.199 334.4)
XYZxyz(19.9453, 10.4385, 26.9457)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F8F #1FA030
analogous
#711FA0 #A01F8F #A01F4F
triadic
#A01F8F #8FA01F #1F8FA0
tetradic
#A01F8F #A0711F #1FA030 #1F4FA0
square
#A01F8F #A0711F #1FA030 #1F4FA0
split-complementary
#A01F8F #4FA01F #1FA071
monochromatic
#390B33 #6D1561 #A01F8F #D329BD #DF5ACE

Accessibility & contrast

On white

6.80
#A01F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A01F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01F8F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F8F#FFFFFF#000000##FFFFFF
##A01F8F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#4F618C
Tritanopia (blue-blind)
#A82D57
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a01f8f;
/* rgb */ color: rgb(160, 31, 143);
/* oklch */ color: oklch(49.7% 0.199 334.4);
Tailwind
colors: {
  custom: {
    50: '#c06bb0',
    500: '#a01f8f',
    950: '#000000',
  },
}
SCSS
$custom: #a01f8f;
$custom-light: #c06bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f8f",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 307.907,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49738,
    "c": 0.19921,
    "h": 334.4
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#A01F8F
secondary
#58C366
accent
#EA543D
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #A01F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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