#A81E9B#A81E9B

#A81E9B is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.212 H 332.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A81E9B
RGBrgb(168, 30, 155)
HSLhsl(306, 70%, 39%)
HSVhsv(306, 82%, 66%)
CMYKcmyk(0%, 82.1%, 7.7%, 34.1%)
CIE-LABlab(40.61, 65.43, -35.45)
CIE-LCHlch(40.61, 74.42, 331.55°)
OKLaboklab(51.64% 0.1886 -0.0976)
OKLCHoklch(51.64% 0.212 332.6)
XYZxyz(22.5292, 11.6219, 32.0607)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81E9B #1EA82B
analogous
#701EA8 #A81E9B #A81E56
triadic
#A81E9B #9BA81E #1E9BA8
tetradic
#A81E9B #A8701E #1EA82B #1E56A8
square
#A81E9B #A8701E #1EA82B #1E56A8
split-complementary
#A81E9B #56A81E #1EA870
monochromatic
#400B3B #74156B #A81E9B #D92AC9 #E25ED6

Accessibility & contrast

On white

6.32
#A81E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A81E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81E9B
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81E9B#FFFFFF#000000##FFFFFF
##A81E9B1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539E
Deuteranopia (green-blind)
#506698
Tritanopia (blue-blind)
#B0305D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a81e9b;
/* rgb */ color: rgb(168, 30, 155);
/* oklch */ color: oklch(51.6% 0.212 332.6);
Tailwind
colors: {
  custom: {
    50: '#c66db9',
    500: '#a81e9b',
    950: '#000000',
  },
}
SCSS
$custom: #a81e9b;
$custom-light: #c66db9;
$custom-dark: #000000;
JSON
{
  "hex": "#a81e9b",
  "rgb": {
    "r": 168,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 305.652,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51635,
    "c": 0.21236,
    "h": 332.6
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#A81E9B
secondary
#5BC765
accent
#ED4C3B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A81E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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