#81289E#81289E

#81289E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.188 H 316.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#81289E
RGBrgb(129, 40, 158)
HSLhsl(285, 60%, 39%)
HSVhsv(285, 75%, 62%)
CMYKcmyk(18.4%, 74.7%, 0%, 38%)
CIE-LABlab(35.31, 54.82, -46.11)
CIE-LCHlch(35.31, 71.63, 319.93°)
OKLaboklab(46.66% 0.136 -0.1298)
OKLCHoklch(46.66% 0.188 316.3)
XYZxyz(15.9827, 8.6540, 33.1696)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81289E #459E28
analogous
#46289E #81289E #9E2880
triadic
#81289E #9E8128 #289E81
tetradic
#81289E #9E4628 #459E28 #28809E
square
#81289E #9E4628 #459E28 #28809E
split-complementary
#81289E #809E28 #289E46
monochromatic
#310F3C #591C6D #81289E #A837CC #BD68D9

Accessibility & contrast

On white

7.69
#81289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#81289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81289E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81289E#FFFFFF#000000##FFFFFF
##81289E1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#28569B
Tritanopia (blue-blind)
#7F4161
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #81289e;
/* rgb */ color: rgb(129, 40, 158);
/* oklch */ color: oklch(46.7% 0.188 316.3);
Tailwind
colors: {
  custom: {
    50: '#a96bbb',
    500: '#81289e',
    950: '#000000',
  },
}
SCSS
$custom: #81289e;
$custom-light: #a96bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#81289e",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 285.254,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46661,
    "c": 0.18803,
    "h": 316.3
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#81289E
secondary
#7ABF63
accent
#E3456C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81289E

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

Preview Lab → · Contrast checker → · Palette generator →

#81289E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva