#A01B8B#A01B8B

#A01B8B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.3% C 0.200 H 335.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A01B8B
RGBrgb(160, 27, 139)
HSLhsl(309, 71%, 37%)
HSVhsv(309, 83%, 63%)
CMYKcmyk(0%, 83.1%, 13.1%, 37.3%)
CIE-LABlab(38.06, 62.12, -29.82)
CIE-LCHlch(38.06, 68.90, 334.36°)
OKLaboklab(49.27% 0.1824 -0.0815)
OKLCHoklch(49.27% 0.2 335.9)
XYZxyz(19.5497, 10.1234, 25.3455)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01B8B #1BA030
analogous
#731BA0 #A01B8B #A01B48
triadic
#A01B8B #8BA01B #1B8BA0
tetradic
#A01B8B #A0731B #1BA030 #1B48A0
square
#A01B8B #A0731B #1BA030 #1B48A0
split-complementary
#A01B8B #48A01B #1BA073
monochromatic
#370930 #6C125E #A01B8B #D424B8 #E253CC

Accessibility & contrast

On white

6.94
#A01B8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A01B8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01B8B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01B8B#FFFFFF#000000##FFFFFF
##A01B8B1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#506088
Tritanopia (blue-blind)
#A92754
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a01b8b;
/* rgb */ color: rgb(160, 27, 139);
/* oklch */ color: oklch(49.3% 0.200 335.9);
Tailwind
colors: {
  custom: {
    50: '#c06aad',
    500: '#a01b8b',
    950: '#000000',
  },
}
SCSS
$custom: #a01b8b;
$custom-light: #c06aad;
$custom-dark: #000000;
JSON
{
  "hex": "#a01b8b",
  "rgb": {
    "r": 160,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 309.474,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49273,
    "c": 0.1998,
    "h": 335.9
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#A01B8B
secondary
#52C564
accent
#EE563A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A01B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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