#A01BA1#A01BA1

#A01BA1 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.215 H 327.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A01BA1
RGBrgb(160, 27, 161)
HSLhsl(300, 71%, 37%)
HSVhsv(300, 83%, 63%)
CMYKcmyk(0.6%, 83.2%, 0%, 36.9%)
CIE-LABlab(39.30, 65.46, -41.24)
CIE-LCHlch(39.30, 77.37, 327.79°)
OKLaboklab(50.55% 0.1823 -0.1146)
OKLCHoklch(50.55% 0.215 327.9)
XYZxyz(21.3219, 10.8323, 34.6791)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01BA1 #1CA11B
analogous
#5D1BA1 #A01BA1 #A11B5F
triadic
#A01BA1 #A1A01B #1BA1A0
tetradic
#A01BA1 #A15D1B #1CA11B #1B5FA1
square
#A01BA1 #A15D1B #1CA11B #1B5FA1
split-complementary
#A01BA1 #5FA11B #1BA15D
monochromatic
#380938 #6C126D #A01BA1 #D424D5 #E154E2

Accessibility & contrast

On white

6.63
#A01BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A01BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01BA1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01BA1#FFFFFF#000000##FFFFFF
##A01BA11.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#44629E
Tritanopia (blue-blind)
#A53560
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a01ba1;
/* rgb */ color: rgb(160, 27, 161);
/* oklch */ color: oklch(50.5% 0.215 327.9);
Tailwind
colors: {
  custom: {
    50: '#c06bbd',
    500: '#a01ba1',
    950: '#000000',
  },
}
SCSS
$custom: #a01ba1;
$custom-light: #c06bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a01ba1",
  "rgb": {
    "r": 160,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 299.552,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.21533,
    "h": 327.9
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#A01BA1
secondary
#53C552
accent
#EE3A3B
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #A01BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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