#A81F99#A81F99

#A81F99 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.210 H 333.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A81F99
RGBrgb(168, 31, 153)
HSLhsl(307, 69%, 39%)
HSVhsv(307, 82%, 66%)
CMYKcmyk(0%, 81.5%, 8.9%, 34.1%)
CIE-LABlab(40.58, 64.89, -34.28)
CIE-LCHlch(40.58, 73.39, 332.15°)
OKLaboklab(51.58% 0.1879 -0.0942)
OKLCHoklch(51.58% 0.21 333.4)
XYZxyz(22.3884, 11.6067, 31.1920)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F99 #1FA82E
analogous
#731FA8 #A81F99 #A81F55
triadic
#A81F99 #99A81F #1F99A8
tetradic
#A81F99 #A8731F #1FA82E #1F55A8
square
#A81F99 #A8731F #1FA82E #1F55A8
split-complementary
#A81F99 #55A81F #1FA873
monochromatic
#410C3B #74156A #A81F99 #D82CC5 #E260D3

Accessibility & contrast

On white

6.32
#A81F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A81F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F99
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F99#FFFFFF#000000##FFFFFF
##A81F991.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17539C
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#B0305C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a81f99;
/* rgb */ color: rgb(168, 31, 153);
/* oklch */ color: oklch(51.6% 0.210 333.4);
Tailwind
colors: {
  custom: {
    50: '#c66db7',
    500: '#a81f99',
    950: '#000000',
  },
}
SCSS
$custom: #a81f99;
$custom-light: #c66db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f99",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 306.569,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.21017,
    "h": 333.4
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#A81F99
secondary
#5DC668
accent
#EC4F3C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A81F99

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

Preview Lab → · Contrast checker → · Palette generator →

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