#A81EA4#A81EA4

#A81EA4 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.2% C 0.219 H 329.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A81EA4
RGBrgb(168, 30, 164)
HSLhsl(302, 70%, 39%)
HSVhsv(302, 82%, 66%)
CMYKcmyk(0%, 82.1%, 2.4%, 34.1%)
CIE-LABlab(41.11, 66.81, -40.07)
CIE-LCHlch(41.11, 77.90, 329.05°)
OKLaboklab(52.16% 0.1885 -0.111)
OKLCHoklch(52.16% 0.219 329.5)
XYZxyz(23.3134, 11.9356, 36.1907)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81EA4 #1EA822
analogous
#671EA8 #A81EA4 #A81E5F
triadic
#A81EA4 #A4A81E #1EA4A8
tetradic
#A81EA4 #A8671E #1EA822 #1E5FA8
square
#A81EA4 #A8671E #1EA822 #1E5FA8
split-complementary
#A81EA4 #5FA81E #1EA867
monochromatic
#400B3F #741571 #A81EA4 #D92AD4 #E25EDE

Accessibility & contrast

On white

6.20
#A81EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A81EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81EA4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81EA4#FFFFFF#000000##FFFFFF
##A81EA41.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#4B67A1
Tritanopia (blue-blind)
#AE3563
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a81ea4;
/* rgb */ color: rgb(168, 30, 164);
/* oklch */ color: oklch(52.2% 0.219 329.5);
Tailwind
colors: {
  custom: {
    50: '#c66dbf',
    500: '#a81ea4',
    950: '#000000',
  },
}
SCSS
$custom: #a81ea4;
$custom-light: #c66dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a81ea4",
  "rgb": {
    "r": 168,
    "g": 30,
    "b": 164
  },
  "hsl": {
    "h": 301.739,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.21873,
    "h": 329.5
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#A81EA4
secondary
#5BC75E
accent
#ED403B
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #A81EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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