#A01F8D#A01F8D

#A01F8D is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.198 H 335.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A01F8D
RGBrgb(160, 31, 141)
HSLhsl(309, 68%, 37%)
HSVhsv(309, 81%, 63%)
CMYKcmyk(0%, 80.6%, 11.9%, 37.3%)
CIE-LABlab(38.51, 61.41, -30.34)
CIE-LCHlch(38.51, 68.49, 333.71°)
OKLaboklab(49.63% 0.1796 -0.083)
OKLCHoklch(49.63% 0.198 335.2)
XYZxyz(19.7952, 10.3785, 26.1548)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F8D #1FA032
analogous
#721FA0 #A01F8D #A01F4D
triadic
#A01F8D #8DA01F #1F8DA0
tetradic
#A01F8D #A0721F #1FA032 #1F4DA0
square
#A01F8D #A0721F #1FA032 #1F4DA0
split-complementary
#A01F8D #4DA01F #1FA072
monochromatic
#390B33 #6D1560 #A01F8D #D329BA #DF5ACC

Accessibility & contrast

On white

6.83
#A01F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A01F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01F8D
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F8D#FFFFFF#000000##FFFFFF
##A01F8D1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#50618A
Tritanopia (blue-blind)
#A82B56
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a01f8d;
/* rgb */ color: rgb(160, 31, 141);
/* oklch */ color: oklch(49.6% 0.198 335.2);
Tailwind
colors: {
  custom: {
    50: '#c06bae',
    500: '#a01f8d',
    950: '#000000',
  },
}
SCSS
$custom: #a01f8d;
$custom-light: #c06bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f8d",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 308.837,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49629,
    "c": 0.19782,
    "h": 335.2
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A01F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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