#A81F96#A81F96

#A81F96 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.208 H 334.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A81F96
RGBrgb(168, 31, 150)
HSLhsl(308, 69%, 39%)
HSVhsv(308, 82%, 66%)
CMYKcmyk(0%, 81.5%, 10.7%, 34.1%)
CIE-LABlab(40.42, 64.45, -32.72)
CIE-LCHlch(40.42, 72.28, 333.09°)
OKLaboklab(51.42% 0.1878 -0.0897)
OKLCHoklch(51.42% 0.208 334.5)
XYZxyz(22.1437, 11.5088, 29.9034)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F96 #1FA831
analogous
#761FA8 #A81F96 #A81F52
triadic
#A81F96 #96A81F #1F96A8
tetradic
#A81F96 #A8761F #1FA831 #1F52A8
square
#A81F96 #A8761F #1FA831 #1F52A8
split-complementary
#A81F96 #52A81F #1FA876
monochromatic
#410C3A #741568 #A81F96 #D82CC1 #E260D1

Accessibility & contrast

On white

6.36
#A81F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A81F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F96
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F96#FFFFFF#000000##FFFFFF
##A81F961.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5399
Deuteranopia (green-blind)
#536693
Tritanopia (blue-blind)
#B02E5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a81f96;
/* rgb */ color: rgb(168, 31, 150);
/* oklch */ color: oklch(51.4% 0.208 334.5);
Tailwind
colors: {
  custom: {
    50: '#c66db5',
    500: '#a81f96',
    950: '#000000',
  },
}
SCSS
$custom: #a81f96;
$custom-light: #c66db5;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f96",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 307.883,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51417,
    "c": 0.2081,
    "h": 334.5
  },
  "luminance": 0.11507
}

Semantic roles & 50–950 ramp

primary
#A81F96
secondary
#5DC66A
accent
#EC533C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A81F96

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

Preview Lab → · Contrast checker → · Palette generator →

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