#A81F93#A81F93

#A81F93 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.206 H 335.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A81F93
RGBrgb(168, 31, 147)
HSLhsl(309, 69%, 39%)
HSVhsv(309, 82%, 66%)
CMYKcmyk(0%, 81.5%, 12.5%, 34.1%)
CIE-LABlab(40.27, 64.02, -31.14)
CIE-LCHlch(40.27, 71.19, 334.06°)
OKLaboklab(51.26% 0.1876 -0.0851)
OKLCHoklch(51.26% 0.206 335.6)
XYZxyz(21.9052, 11.4134, 28.6475)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F93 #1FA834
analogous
#791FA8 #A81F93 #A81F4F
triadic
#A81F93 #93A81F #1F93A8
tetradic
#A81F93 #A8791F #1FA834 #1F4FA8
square
#A81F93 #A8791F #1FA834 #1F4FA8
split-complementary
#A81F93 #4FA81F #1FA879
monochromatic
#410C39 #741566 #A81F93 #D82CBE #E260CE

Accessibility & contrast

On white

6.40
#A81F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A81F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F93
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F93#FFFFFF#000000##FFFFFF
##A81F931.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205296
Deuteranopia (green-blind)
#546690
Tritanopia (blue-blind)
#B12C59
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a81f93;
/* rgb */ color: rgb(168, 31, 147);
/* oklch */ color: oklch(51.3% 0.206 335.6);
Tailwind
colors: {
  custom: {
    50: '#c66db3',
    500: '#a81f93',
    950: '#000000',
  },
}
SCSS
$custom: #a81f93;
$custom-light: #c66db3;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f93",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 309.197,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51255,
    "c": 0.20606,
    "h": 335.6
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#A81F93
secondary
#5DC66D
accent
#EC573C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A81F93

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

Preview Lab → · Contrast checker → · Palette generator →

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