#A81BA2#A81BA2

#A81BA2 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.9% C 0.220 H 330.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A81BA2
RGBrgb(168, 27, 162)
HSLhsl(303, 72%, 38%)
HSVhsv(303, 84%, 66%)
CMYKcmyk(0%, 83.9%, 3.6%, 34.1%)
CIE-LABlab(40.77, 67.17, -39.42)
CIE-LCHlch(40.77, 77.89, 329.59°)
OKLaboklab(51.87% 0.1905 -0.1091)
OKLCHoklch(51.87% 0.22 330.2)
XYZxyz(23.0619, 11.7192, 35.2228)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81BA2 #1BA821
analogous
#671BA8 #A81BA2 #A81B5B
triadic
#A81BA2 #A2A81B #1BA2A8
tetradic
#A81BA2 #A8671B #1BA821 #1B5BA8
square
#A81BA2 #A8671B #1BA821 #1B5BA8
split-complementary
#A81BA2 #5BA81B #1BA867
monochromatic
#3F0A3C #73136F #A81BA2 #DC24D4 #E459DE

Accessibility & contrast

On white

6.28
#A81BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A81BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81BA2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81BA2#FFFFFF#000000##FFFFFF
##A81BA21.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#4B669F
Tritanopia (blue-blind)
#AF3361
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a81ba2;
/* rgb */ color: rgb(168, 27, 162);
/* oklch */ color: oklch(51.9% 0.220 330.2);
Tailwind
colors: {
  custom: {
    50: '#c66cbe',
    500: '#a81ba2',
    950: '#000000',
  },
}
SCSS
$custom: #a81ba2;
$custom-light: #c66cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a81ba2",
  "rgb": {
    "r": 168,
    "g": 27,
    "b": 162
  },
  "hsl": {
    "h": 302.553,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.21952,
    "h": 330.2
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#A81BA2
secondary
#57C85C
accent
#EF4139
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #A81BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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