#A01F98#A01F98

#A01F98 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.206 H 331.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A01F98
RGBrgb(160, 31, 152)
HSLhsl(304, 68%, 37%)
HSVhsv(304, 81%, 63%)
CMYKcmyk(0%, 80.6%, 5%, 37.3%)
CIE-LABlab(39.11, 63.07, -36.10)
CIE-LCHlch(39.11, 72.67, 330.21°)
OKLaboklab(50.25% 0.1798 -0.0997)
OKLCHoklch(50.25% 0.206 331)
XYZxyz(20.6547, 10.7223, 30.6814)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F98 #1FA027
analogous
#681FA0 #A01F98 #A01F57
triadic
#A01F98 #98A01F #1F98A0
tetradic
#A01F98 #A0681F #1FA027 #1F57A0
square
#A01F98 #A0681F #1FA027 #1F57A0
split-complementary
#A01F98 #57A01F #1FA068
monochromatic
#390B37 #6D1567 #A01F98 #D329C9 #DF5AD7

Accessibility & contrast

On white

6.68
#A01F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A01F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01F98
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F98#FFFFFF#000000##FFFFFF
##A01F981.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C519B
Deuteranopia (green-blind)
#4A6295
Tritanopia (blue-blind)
#A7325C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a01f98;
/* rgb */ color: rgb(160, 31, 152);
/* oklch */ color: oklch(50.2% 0.206 331.0);
Tailwind
colors: {
  custom: {
    50: '#c06cb7',
    500: '#a01f98',
    950: '#000000',
  },
}
SCSS
$custom: #a01f98;
$custom-light: #c06cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f98",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 303.721,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.2056,
    "h": 331
  },
  "luminance": 0.10721
}

Semantic roles & 50–950 ramp

primary
#A01F98
secondary
#58C35E
accent
#EA483D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #A01F98

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

Preview Lab → · Contrast checker → · Palette generator →

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