#A81EA8#A81EA8

#A81EA8 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.222 H 328.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A81EA8
RGBrgb(168, 30, 168)
HSLhsl(300, 70%, 39%)
HSVhsv(300, 82%, 66%)
CMYKcmyk(0%, 82.1%, 0%, 34.1%)
CIE-LABlab(41.35, 67.44, -42.09)
CIE-LCHlch(41.35, 79.49, 328.03°)
OKLaboklab(52.4% 0.1883 -0.1168)
OKLCHoklch(52.4% 0.222 328.2)
XYZxyz(23.6803, 12.0823, 38.1231)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81EA8 #1EA81E
analogous
#631EA8 #A81EA8 #A81E63
triadic
#A81EA8 #A8A81E #1EA8A8
tetradic
#A81EA8 #A8631E #1EA81E #1E63A8
square
#A81EA8 #A8631E #1EA81E #1E63A8
split-complementary
#A81EA8 #63A81E #1EA863
monochromatic
#400B40 #741574 #A81EA8 #D92AD9 #E25EE2

Accessibility & contrast

On white

6.15
#A81EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A81EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81EA8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81EA8#FFFFFF#000000##FFFFFF
##A81EA81.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#4967A5
Tritanopia (blue-blind)
#AE3865
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a81ea8;
/* rgb */ color: rgb(168, 30, 168);
/* oklch */ color: oklch(52.4% 0.222 328.2);
Tailwind
colors: {
  custom: {
    50: '#c66ec2',
    500: '#a81ea8',
    950: '#000000',
  },
}
SCSS
$custom: #a81ea8;
$custom-light: #c66ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a81ea8",
  "rgb": {
    "r": 168,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 300,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52397,
    "c": 0.22162,
    "h": 328.2
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#A81EA8
secondary
#5BC75B
accent
#ED3B3B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140812
muted
#827B81

Preview Lab

Preview with #A81EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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