#A81EA1#A81EA1

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

Color values

HEX#A81EA1
RGBrgb(168, 30, 161)
HSLhsl(303, 70%, 39%)
HSVhsv(303, 82%, 66%)
CMYKcmyk(0%, 82.1%, 4.2%, 34.1%)
CIE-LABlab(40.94, 66.34, -38.54)
CIE-LCHlch(40.94, 76.73, 329.85°)
OKLaboklab(51.98% 0.1886 -0.1065)
OKLCHoklch(51.98% 0.217 330.5)
XYZxyz(23.0457, 11.8285, 34.7807)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81EA1 #1EA825
analogous
#6A1EA8 #A81EA1 #A81E5C
triadic
#A81EA1 #A1A81E #1EA1A8
tetradic
#A81EA1 #A86A1E #1EA825 #1E5CA8
square
#A81EA1 #A86A1E #1EA825 #1E5CA8
split-complementary
#A81EA1 #5CA81E #1EA86A
monochromatic
#400B3D #74156F #A81EA1 #D92AD0 #E25EDC

Accessibility & contrast

On white

6.24
#A81EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A81EA1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81EA1#FFFFFF#000000##FFFFFF
##A81EA11.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A4
Deuteranopia (green-blind)
#4D679E
Tritanopia (blue-blind)
#AF3461
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a81ea1;
/* rgb */ color: rgb(168, 30, 161);
/* oklch */ color: oklch(52.0% 0.217 330.5);
Tailwind
colors: {
  custom: {
    50: '#c66dbd',
    500: '#a81ea1',
    950: '#000000',
  },
}
SCSS
$custom: #a81ea1;
$custom-light: #c66dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a81ea1",
  "rgb": {
    "r": 168,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 303.043,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5198,
    "c": 0.21658,
    "h": 330.5
  },
  "luminance": 0.11827
}

Semantic roles & 50–950 ramp

primary
#A81EA1
secondary
#5BC761
accent
#ED443B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A81EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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