#A01F96#A01F96

#A01F96 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.204 H 331.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A01F96
RGBrgb(160, 31, 150)
HSLhsl(305, 68%, 37%)
HSVhsv(305, 81%, 63%)
CMYKcmyk(0%, 80.6%, 6.2%, 37.3%)
CIE-LABlab(39.00, 62.76, -35.07)
CIE-LCHlch(39.00, 71.89, 330.81°)
OKLaboklab(50.13% 0.1798 -0.0967)
OKLCHoklch(50.13% 0.204 331.7)
XYZxyz(20.4923, 10.6573, 29.8260)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F96 #1FA029
analogous
#691FA0 #A01F96 #A01F56
triadic
#A01F96 #96A01F #1F96A0
tetradic
#A01F96 #A0691F #1FA029 #1F56A0
square
#A01F96 #A0691F #1FA029 #1F56A0
split-complementary
#A01F96 #56A01F #1FA069
monochromatic
#390B36 #6D1566 #A01F96 #D329C6 #DF5AD5

Accessibility & contrast

On white

6.71
#A01F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A01F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01F96
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F96#FFFFFF#000000##FFFFFF
##A01F961.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115199
Deuteranopia (green-blind)
#4C6293
Tritanopia (blue-blind)
#A7315B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a01f96;
/* rgb */ color: rgb(160, 31, 150);
/* oklch */ color: oklch(50.1% 0.204 331.7);
Tailwind
colors: {
  custom: {
    50: '#c06cb5',
    500: '#a01f96',
    950: '#000000',
  },
}
SCSS
$custom: #a01f96;
$custom-light: #c06cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f96",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 304.651,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.20416,
    "h": 331.7
  },
  "luminance": 0.10656
}

Semantic roles & 50–950 ramp

primary
#A01F96
secondary
#58C360
accent
#EA4B3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #A01F96

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

Preview Lab → · Contrast checker → · Palette generator →

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