#A81CA4#A81CA4

#A81CA4 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.220 H 329.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A81CA4
RGBrgb(168, 28, 164)
HSLhsl(302, 71%, 38%)
HSVhsv(302, 83%, 66%)
CMYKcmyk(0%, 83.3%, 2.4%, 34.1%)
CIE-LABlab(40.96, 67.26, -40.32)
CIE-LCHlch(40.96, 78.42, 329.06°)
OKLaboklab(52.05% 0.1898 -0.1117)
OKLCHoklch(52.05% 0.22 329.5)
XYZxyz(23.2644, 11.8375, 36.1743)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81CA4 #1CA820
analogous
#661CA8 #A81CA4 #A81C5E
triadic
#A81CA4 #A4A81C #1CA4A8
tetradic
#A81CA4 #A8661C #1CA820 #1C5EA8
square
#A81CA4 #A8661C #1CA820 #1C5EA8
split-complementary
#A81CA4 #5EA81C #1CA866
monochromatic
#3F0B3E #741371 #A81CA4 #DB26D6 #E45BE0

Accessibility & contrast

On white

6.24
#A81CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A81CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81CA4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81CA4#FFFFFF#000000##FFFFFF
##A81CA41.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a81ca4;
/* rgb */ color: rgb(168, 28, 164);
/* oklch */ color: oklch(52.0% 0.220 329.5);
Tailwind
colors: {
  custom: {
    50: '#c66dbf',
    500: '#a81ca4',
    950: '#000000',
  },
}
SCSS
$custom: #a81ca4;
$custom-light: #c66dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a81ca4",
  "rgb": {
    "r": 168,
    "g": 28,
    "b": 164
  },
  "hsl": {
    "h": 301.714,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.22023,
    "h": 329.5
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#A81CA4
secondary
#58C75C
accent
#EE3F3A
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #A81CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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