#A81FA0#A81FA0

#A81FA0 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.215 H 330.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A81FA0
RGBrgb(168, 31, 160)
HSLhsl(304, 69%, 39%)
HSVhsv(304, 82%, 66%)
CMYKcmyk(0%, 81.5%, 4.8%, 34.1%)
CIE-LABlab(40.97, 65.95, -37.90)
CIE-LCHlch(40.97, 76.06, 330.12°)
OKLaboklab(51.98% 0.1879 -0.1047)
OKLCHoklch(51.98% 0.215 330.9)
XYZxyz(22.9836, 11.8448, 34.3267)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81FA0 #1FA827
analogous
#6C1FA8 #A81FA0 #A81F5C
triadic
#A81FA0 #A0A81F #1FA0A8
tetradic
#A81FA0 #A86C1F #1FA827 #1F5CA8
square
#A81FA0 #A86C1F #1FA827 #1F5CA8
split-complementary
#A81FA0 #5CA81F #1FA86C
monochromatic
#410C3E #74156F #A81FA0 #D82CCE #E260DA

Accessibility & contrast

On white

6.23
#A81FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A81FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81FA0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81FA0#FFFFFF#000000##FFFFFF
##A81FA01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0755A3
Deuteranopia (green-blind)
#4E679D
Tritanopia (blue-blind)
#AF3460
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a81fa0;
/* rgb */ color: rgb(168, 31, 160);
/* oklch */ color: oklch(52.0% 0.215 330.9);
Tailwind
colors: {
  custom: {
    50: '#c66dbc',
    500: '#a81fa0',
    950: '#000000',
  },
}
SCSS
$custom: #a81fa0;
$custom-light: #c66dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a81fa0",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 303.504,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.2151,
    "h": 330.9
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#A81FA0
secondary
#5DC663
accent
#EC463C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A81FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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