#A01F8B#A01F8B

#A01F8B is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.196 H 336.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A01F8B
RGBrgb(160, 31, 139)
HSLhsl(310, 68%, 37%)
HSVhsv(310, 81%, 63%)
CMYKcmyk(0%, 80.6%, 13.1%, 37.3%)
CIE-LABlab(38.41, 61.11, -29.27)
CIE-LCHlch(38.41, 67.76, 334.41°)
OKLaboklab(49.52% 0.1794 -0.0799)
OKLCHoklch(49.52% 0.196 336)
XYZxyz(19.6477, 10.3195, 25.3782)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F8B #1FA034
analogous
#741FA0 #A01F8B #A01F4B
triadic
#A01F8B #8BA01F #1F8BA0
tetradic
#A01F8B #A0741F #1FA034 #1F4BA0
square
#A01F8B #A0741F #1FA034 #1F4BA0
split-complementary
#A01F8B #4BA01F #1FA074
monochromatic
#390B32 #6D155E #A01F8B #D329B8 #DF5AC9

Accessibility & contrast

On white

6.85
#A01F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A01F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01F8B
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F8B#FFFFFF#000000##FFFFFF
##A01F8B1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#516188
Tritanopia (blue-blind)
#A82A54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a01f8b;
/* rgb */ color: rgb(160, 31, 139);
/* oklch */ color: oklch(49.5% 0.196 336.0);
Tailwind
colors: {
  custom: {
    50: '#c06bad',
    500: '#a01f8b',
    950: '#000000',
  },
}
SCSS
$custom: #a01f8b;
$custom-light: #c06bad;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f8b",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 309.767,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49521,
    "c": 0.19645,
    "h": 336
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#A01F8B
secondary
#58C369
accent
#EA5A3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A01F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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