#A81F94#A81F94

#A81F94 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.207 H 335.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A81F94
RGBrgb(168, 31, 148)
HSLhsl(309, 69%, 39%)
HSVhsv(309, 82%, 66%)
CMYKcmyk(0%, 81.5%, 11.9%, 34.1%)
CIE-LABlab(40.32, 64.16, -31.67)
CIE-LCHlch(40.32, 71.55, 333.73°)
OKLaboklab(51.31% 0.1877 -0.0867)
OKLCHoklch(51.31% 0.207 335.2)
XYZxyz(21.9841, 11.4450, 29.0625)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F94 #1FA833
analogous
#781FA8 #A81F94 #A81F50
triadic
#A81F94 #94A81F #1F94A8
tetradic
#A81F94 #A8781F #1FA833 #1F50A8
square
#A81F94 #A8781F #1FA833 #1F50A8
split-complementary
#A81F94 #50A81F #1FA878
monochromatic
#410C39 #741566 #A81F94 #D82CBF #E260CF

Accessibility & contrast

On white

6.39
#A81F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A81F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F94
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F94#FFFFFF#000000##FFFFFF
##A81F941.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5297
Deuteranopia (green-blind)
#546691
Tritanopia (blue-blind)
#B12D5A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a81f94;
/* rgb */ color: rgb(168, 31, 148);
/* oklch */ color: oklch(51.3% 0.207 335.2);
Tailwind
colors: {
  custom: {
    50: '#c66db4',
    500: '#a81f94',
    950: '#000000',
  },
}
SCSS
$custom: #a81f94;
$custom-light: #c66db4;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f94",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 308.759,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51309,
    "c": 0.20673,
    "h": 335.2
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#A81F94
secondary
#5DC66C
accent
#EC563C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A81F94

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

Preview Lab → · Contrast checker → · Palette generator →

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