#A01B8A#A01B8A

#A01B8A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.199 H 336.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A01B8A
RGBrgb(160, 27, 138)
HSLhsl(310, 71%, 37%)
HSVhsv(310, 83%, 63%)
CMYKcmyk(0%, 83.1%, 13.8%, 37.3%)
CIE-LABlab(38.01, 61.97, -29.28)
CIE-LCHlch(38.01, 68.54, 334.71°)
OKLaboklab(49.22% 0.1824 -0.08)
OKLCHoklch(49.22% 0.199 336.3)
XYZxyz(19.4770, 10.0943, 24.9625)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01B8A #1BA031
analogous
#741BA0 #A01B8A #A01B48
triadic
#A01B8A #8AA01B #1B8AA0
tetradic
#A01B8A #A0741B #1BA031 #1B48A0
square
#A01B8A #A0741B #1BA031 #1B48A0
split-complementary
#A01B8A #48A01B #1BA074
monochromatic
#370930 #6C125D #A01B8A #D424B7 #E253CA

Accessibility & contrast

On white

6.96
#A01B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A01B8A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01B8A#FFFFFF#000000##FFFFFF
##A01B8A1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#A92753
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a01b8a;
/* rgb */ color: rgb(160, 27, 138);
/* oklch */ color: oklch(49.2% 0.199 336.3);
Tailwind
colors: {
  custom: {
    50: '#c06aac',
    500: '#a01b8a',
    950: '#000000',
  },
}
SCSS
$custom: #a01b8a;
$custom-light: #c06aac;
$custom-dark: #000000;
JSON
{
  "hex": "#a01b8a",
  "rgb": {
    "r": 160,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 309.925,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49219,
    "c": 0.19913,
    "h": 336.3
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#A01B8A
secondary
#52C565
accent
#EE583A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A01B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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