#81279F#81279F

#81279F is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.190 H 316.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#81279F
RGBrgb(129, 39, 159)
HSLhsl(285, 61%, 39%)
HSVhsv(285, 75%, 62%)
CMYKcmyk(18.9%, 75.5%, 0%, 37.6%)
CIE-LABlab(35.25, 55.39, -46.82)
CIE-LCHlch(35.25, 72.53, 319.80°)
OKLaboklab(46.64% 0.1369 -0.1319)
OKLCHoklch(46.64% 0.19 316.1)
XYZxyz(16.0358, 8.6220, 33.6137)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81279F #459F27
analogous
#45279F #81279F #9F2781
triadic
#81279F #9F8127 #279F81
tetradic
#81279F #9F4527 #459F27 #27819F
square
#81279F #9F4527 #459F27 #27819F
split-complementary
#81279F #819F27 #279F45
monochromatic
#310F3D #591B6E #81279F #A836CE #BD67DA

Accessibility & contrast

On white

7.71
#81279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#81279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81279F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81279F#FFFFFF#000000##FFFFFF
##81279F1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#26559C
Tritanopia (blue-blind)
#7F4161
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #81279f;
/* rgb */ color: rgb(129, 39, 159);
/* oklch */ color: oklch(46.6% 0.190 316.1);
Tailwind
colors: {
  custom: {
    50: '#a96bbc',
    500: '#81279f',
    950: '#000000',
  },
}
SCSS
$custom: #81279f;
$custom-light: #a96bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#81279f",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 285,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46638,
    "c": 0.19006,
    "h": 316.1
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#81279F
secondary
#7AC062
accent
#E4446C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81279F

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

Preview Lab → · Contrast checker → · Palette generator →

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