#A81EA6#A81EA6

#A81EA6 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.3% C 0.220 H 328.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A81EA6
RGBrgb(168, 30, 166)
HSLhsl(301, 70%, 39%)
HSVhsv(301, 82%, 66%)
CMYKcmyk(0%, 82.1%, 1.2%, 34.1%)
CIE-LABlab(41.23, 67.12, -41.08)
CIE-LCHlch(41.23, 78.69, 328.53°)
OKLaboklab(52.28% 0.1884 -0.1139)
OKLCHoklch(52.28% 0.22 328.8)
XYZxyz(23.4955, 12.0084, 37.1494)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81EA6 #1EA820
analogous
#651EA8 #A81EA6 #A81E61
triadic
#A81EA6 #A6A81E #1EA6A8
tetradic
#A81EA6 #A8651E #1EA820 #1E61A8
square
#A81EA6 #A8651E #1EA820 #1E61A8
split-complementary
#A81EA6 #61A81E #1EA865
monochromatic
#400B3F #741573 #A81EA6 #D92AD6 #E25EE0

Accessibility & contrast

On white

6.17
#A81EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A81EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81EA6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81EA6#FFFFFF#000000##FFFFFF
##A81EA61.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4A67A3
Tritanopia (blue-blind)
#AE3764
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a81ea6;
/* rgb */ color: rgb(168, 30, 166);
/* oklch */ color: oklch(52.3% 0.220 328.8);
Tailwind
colors: {
  custom: {
    50: '#c66dc1',
    500: '#a81ea6',
    950: '#000000',
  },
}
SCSS
$custom: #a81ea6;
$custom-light: #c66dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a81ea6",
  "rgb": {
    "r": 168,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 300.87,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.22018,
    "h": 328.8
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#A81EA6
secondary
#5BC75D
accent
#ED3E3B
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #A81EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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