#A01998#A01998

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

Color values

HEX#A01998
RGBrgb(160, 25, 152)
HSLhsl(304, 73%, 36%)
HSVhsv(304, 84%, 63%)
CMYKcmyk(0%, 84.4%, 5%, 37.3%)
CIE-LABlab(38.62, 64.50, -36.89)
CIE-LCHlch(38.62, 74.30, 330.23°)
OKLaboklab(49.9% 0.184 -0.1019)
OKLCHoklch(49.9% 0.21 331)
XYZxyz(20.5123, 10.4376, 30.6340)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01998 #19A021
analogous
#6519A0 #A01998 #A01955
triadic
#A01998 #98A019 #1998A0
tetradic
#A01998 #A06519 #19A021 #1955A0
square
#A01998 #A06519 #19A021 #1955A0
split-complementary
#A01998 #55A019 #19A065
monochromatic
#360833 #6B1166 #A01998 #D521CA #E450DB

Accessibility & contrast

On white

6.80
#A01998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A01998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01998
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01998#FFFFFF#000000##FFFFFF
##A019981.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#496195
Tritanopia (blue-blind)
#A72E5B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a01998;
/* rgb */ color: rgb(160, 25, 152);
/* oklch */ color: oklch(49.9% 0.210 331.0);
Tailwind
colors: {
  custom: {
    50: '#c06ab7',
    500: '#a01998',
    950: '#000000',
  },
}
SCSS
$custom: #a01998;
$custom-light: #c06ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#a01998",
  "rgb": {
    "r": 160,
    "g": 25,
    "b": 152
  },
  "hsl": {
    "h": 303.556,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49897,
    "c": 0.2103,
    "h": 331
  },
  "luminance": 0.10436
}

Semantic roles & 50–950 ramp

primary
#A01998
secondary
#4FC656
accent
#F04338
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #A01998

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

Preview Lab → · Contrast checker → · Palette generator →

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