#A81F92#A81F92

#A81F92 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.205 H 336.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A81F92
RGBrgb(168, 31, 146)
HSLhsl(310, 69%, 39%)
HSVhsv(310, 82%, 66%)
CMYKcmyk(0%, 81.5%, 13.1%, 34.1%)
CIE-LABlab(40.22, 63.87, -30.61)
CIE-LCHlch(40.22, 70.83, 334.39°)
OKLaboklab(51.2% 0.1876 -0.0836)
OKLCHoklch(51.2% 0.205 336)
XYZxyz(21.8271, 11.3822, 28.2360)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F92 #1FA835
analogous
#7A1FA8 #A81F92 #A81F4E
triadic
#A81F92 #92A81F #1F92A8
tetradic
#A81F92 #A87A1F #1FA835 #1F4EA8
square
#A81F92 #A87A1F #1FA835 #1F4EA8
split-complementary
#A81F92 #4EA81F #1FA87A
monochromatic
#410C38 #741565 #A81F92 #D82CBC #E260CD

Accessibility & contrast

On white

6.41
#A81F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A81F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F92
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F92#FFFFFF#000000##FFFFFF
##A81F921.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215295
Deuteranopia (green-blind)
#55668F
Tritanopia (blue-blind)
#B12B58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a81f92;
/* rgb */ color: rgb(168, 31, 146);
/* oklch */ color: oklch(51.2% 0.205 336.0);
Tailwind
colors: {
  custom: {
    50: '#c66db2',
    500: '#a81f92',
    950: '#000000',
  },
}
SCSS
$custom: #a81f92;
$custom-light: #c66db2;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f92",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 309.635,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51201,
    "c": 0.20538,
    "h": 336
  },
  "luminance": 0.1138
}

Semantic roles & 50–950 ramp

primary
#A81F92
secondary
#5DC66E
accent
#EC583C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A81F92

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

Preview Lab → · Contrast checker → · Palette generator →

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