#81279A#81279A

#81279A is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.186 H 317.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#81279A
RGBrgb(129, 39, 154)
HSLhsl(287, 60%, 38%)
HSVhsv(287, 75%, 60%)
CMYKcmyk(16.2%, 74.7%, 0%, 39.6%)
CIE-LABlab(34.91, 54.39, -44.33)
CIE-LCHlch(34.91, 70.17, 320.82°)
OKLaboklab(46.29% 0.1375 -0.1246)
OKLCHoklch(46.29% 0.186 317.8)
XYZxyz(15.6107, 8.4520, 31.3747)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81279A #409A27
analogous
#48279A #81279A #9A2779
triadic
#81279A #9A8127 #279A81
tetradic
#81279A #9A4827 #409A27 #27799A
square
#81279A #9A4827 #409A27 #27799A
split-complementary
#81279A #799A27 #279A48
monochromatic
#2F0E38 #581B69 #81279A #AA33CB #BE64D8

Accessibility & contrast

On white

7.81
#81279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#81279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81279A
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81279A#FFFFFF#000000##FFFFFF
##81279A1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#2B5597
Tritanopia (blue-blind)
#803F5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #81279a;
/* rgb */ color: rgb(129, 39, 154);
/* oklch */ color: oklch(46.3% 0.186 317.8);
Tailwind
colors: {
  custom: {
    50: '#a96bb8',
    500: '#81279a',
    950: '#000000',
  },
}
SCSS
$custom: #81279a;
$custom-light: #a96bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#81279a",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 286.957,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4629,
    "c": 0.18552,
    "h": 317.8
  },
  "luminance": 0.08451
}

Semantic roles & 50–950 ramp

primary
#81279A
secondary
#74BD5F
accent
#E34567
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #81279A

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

Preview Lab → · Contrast checker → · Palette generator →

#81279A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva