#81239A#81239A

#81239A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.190 H 318.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#81239A
RGBrgb(129, 35, 154)
HSLhsl(287, 63%, 37%)
HSVhsv(287, 77%, 60%)
CMYKcmyk(16.2%, 77.3%, 0%, 39.6%)
CIE-LABlab(34.40, 55.84, -45.14)
CIE-LCHlch(34.40, 71.80, 321.05°)
OKLaboklab(45.93% 0.1412 -0.1269)
OKLCHoklch(45.93% 0.19 318)
XYZxyz(15.4862, 8.2030, 31.3332)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81239A #3C9A23
analogous
#46239A #81239A #9A2378
triadic
#81239A #9A8123 #239A81
tetradic
#81239A #9A4623 #3C9A23 #23789A
square
#81239A #9A4623 #3C9A23 #23789A
split-complementary
#81239A #789A23 #239A46
monochromatic
#2D0C36 #571868 #81239A #AB2ECC #C05DDA

Accessibility & contrast

On white

7.95
#81239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#81239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81239A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81239A#FFFFFF#000000##FFFFFF
##81239A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#285497
Tritanopia (blue-blind)
#803D5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #81239a;
/* rgb */ color: rgb(129, 35, 154);
/* oklch */ color: oklch(45.9% 0.190 318.0);
Tailwind
colors: {
  custom: {
    50: '#a969b8',
    500: '#81239a',
    950: '#000000',
  },
}
SCSS
$custom: #81239a;
$custom-light: #a969b8;
$custom-dark: #000000;
JSON
{
  "hex": "#81239a",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 287.395,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45932,
    "c": 0.18988,
    "h": 318
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#81239A
secondary
#6FBF5A
accent
#E64264
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #81239A

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

Preview Lab → · Contrast checker → · Palette generator →

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