#A01A98#A01A98

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

Color values

HEX#A01A98
RGBrgb(160, 26, 152)
HSLhsl(304, 72%, 36%)
HSVhsv(304, 84%, 63%)
CMYKcmyk(0%, 83.8%, 5%, 37.3%)
CIE-LABlab(38.69, 64.28, -36.77)
CIE-LCHlch(38.69, 74.05, 330.23°)
OKLaboklab(49.95% 0.1833 -0.1015)
OKLCHoklch(49.95% 0.21 331)
XYZxyz(20.5341, 10.4811, 30.6412)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01A98 #1AA022
analogous
#651AA0 #A01A98 #A01A55
triadic
#A01A98 #98A01A #1A98A0
tetradic
#A01A98 #A0651A #1AA022 #1A55A0
square
#A01A98 #A0651A #1AA022 #1A55A0
split-complementary
#A01A98 #55A01A #1AA065
monochromatic
#370934 #6B1166 #A01A98 #D523CA #E352DA

Accessibility & contrast

On white

6.78
#A01A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A01A98
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01A98#FFFFFF#000000##FFFFFF
##A01A981.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a01a98;
/* rgb */ color: rgb(160, 26, 152);
/* oklch */ color: oklch(50.0% 0.210 331.0);
Tailwind
colors: {
  custom: {
    50: '#c06ab7',
    500: '#a01a98',
    950: '#000000',
  },
}
SCSS
$custom: #a01a98;
$custom-light: #c06ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#a01a98",
  "rgb": {
    "r": 160,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 303.582,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.20958,
    "h": 331
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#A01A98
secondary
#50C557
accent
#EF4439
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #A01A98

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

Preview Lab → · Contrast checker → · Palette generator →

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