#A01F8E#A01F8E

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

Color values

HEX#A01F8E
RGBrgb(160, 31, 142)
HSLhsl(308, 68%, 37%)
HSVhsv(308, 81%, 63%)
CMYKcmyk(0%, 80.6%, 11.2%, 37.3%)
CIE-LABlab(38.57, 61.55, -30.87)
CIE-LCHlch(38.57, 68.86, 333.37°)
OKLaboklab(49.68% 0.1796 -0.0845)
OKLCHoklch(49.68% 0.199 334.8)
XYZxyz(19.8699, 10.4084, 26.5485)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F8E #1FA031
analogous
#711FA0 #A01F8E #A01F4E
triadic
#A01F8E #8EA01F #1F8EA0
tetradic
#A01F8E #A0711F #1FA031 #1F4EA0
square
#A01F8E #A0711F #1FA031 #1F4EA0
split-complementary
#A01F8E #4EA01F #1FA071
monochromatic
#390B33 #6D1561 #A01F8E #D329BB #DF5ACD

Accessibility & contrast

On white

6.82
#A01F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A01F8E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F8E#FFFFFF#000000##FFFFFF
##A01F8E1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F91
Deuteranopia (green-blind)
#50618B
Tritanopia (blue-blind)
#A82C56
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a01f8e;
/* rgb */ color: rgb(160, 31, 142);
/* oklch */ color: oklch(49.7% 0.199 334.8);
Tailwind
colors: {
  custom: {
    50: '#c06baf',
    500: '#a01f8e',
    950: '#000000',
  },
}
SCSS
$custom: #a01f8e;
$custom-light: #c06baf;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f8e",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 308.372,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49683,
    "c": 0.19851,
    "h": 334.8
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#A01F8E
secondary
#58C367
accent
#EA563D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A01F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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