#A01B98#A01B98

#A01B98 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.209 H 331.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A01B98
RGBrgb(160, 27, 152)
HSLhsl(304, 71%, 37%)
HSVhsv(304, 83%, 63%)
CMYKcmyk(0%, 83.1%, 5%, 37.3%)
CIE-LABlab(38.77, 64.05, -36.64)
CIE-LCHlch(38.77, 73.79, 330.23°)
OKLaboklab(50.01% 0.1827 -0.1012)
OKLCHoklch(50.01% 0.209 331)
XYZxyz(20.5566, 10.5262, 30.6488)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01B98 #1BA023
analogous
#661BA0 #A01B98 #A01B56
triadic
#A01B98 #98A01B #1B98A0
tetradic
#A01B98 #A0661B #1BA023 #1B56A0
square
#A01B98 #A0661B #1BA023 #1B56A0
split-complementary
#A01B98 #56A01B #1BA066
monochromatic
#370935 #6C1266 #A01B98 #D424CA #E253D9

Accessibility & contrast

On white

6.76
#A01B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A01B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01B98
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01B98#FFFFFF#000000##FFFFFF
##A01B981.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509B
Deuteranopia (green-blind)
#496195
Tritanopia (blue-blind)
#A72F5B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a01b98;
/* rgb */ color: rgb(160, 27, 152);
/* oklch */ color: oklch(50.0% 0.209 331.0);
Tailwind
colors: {
  custom: {
    50: '#c06bb7',
    500: '#a01b98',
    950: '#000000',
  },
}
SCSS
$custom: #a01b98;
$custom-light: #c06bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a01b98",
  "rgb": {
    "r": 160,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 303.609,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.50006,
    "c": 0.20882,
    "h": 331
  },
  "luminance": 0.10524
}

Semantic roles & 50–950 ramp

primary
#A01B98
secondary
#52C559
accent
#EE453A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #A01B98

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

Preview Lab → · Contrast checker → · Palette generator →

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