#A81F97#A81F97

#A81F97 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.209 H 334.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A81F97
RGBrgb(168, 31, 151)
HSLhsl(307, 69%, 39%)
HSVhsv(307, 82%, 66%)
CMYKcmyk(0%, 81.5%, 10.1%, 34.1%)
CIE-LABlab(40.48, 64.60, -33.24)
CIE-LCHlch(40.48, 72.65, 332.77°)
OKLaboklab(51.47% 0.1878 -0.0912)
OKLCHoklch(51.47% 0.209 334.1)
XYZxyz(22.2246, 11.5412, 30.3293)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F97 #1FA830
analogous
#751FA8 #A81F97 #A81F53
triadic
#A81F97 #97A81F #1F97A8
tetradic
#A81F97 #A8751F #1FA830 #1F53A8
square
#A81F97 #A8751F #1FA830 #1F53A8
split-complementary
#A81F97 #53A81F #1FA875
monochromatic
#410C3A #741569 #A81F97 #D82CC3 #E260D2

Accessibility & contrast

On white

6.35
#A81F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A81F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F97
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F97#FFFFFF#000000##FFFFFF
##A81F971.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a81f97;
/* rgb */ color: rgb(168, 31, 151);
/* oklch */ color: oklch(51.5% 0.209 334.1);
Tailwind
colors: {
  custom: {
    50: '#c66db6',
    500: '#a81f97',
    950: '#000000',
  },
}
SCSS
$custom: #a81f97;
$custom-light: #c66db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f97",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 307.445,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.20879,
    "h": 334.1
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A81F97

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

Preview Lab → · Contrast checker → · Palette generator →

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