#81238E#81238E

#81238E is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.179 H 322.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#81238E
RGBrgb(129, 35, 142)
HSLhsl(293, 60%, 35%)
HSVhsv(293, 75%, 56%)
CMYKcmyk(9.2%, 75.4%, 0%, 44.3%)
CIE-LABlab(33.61, 53.55, -39.07)
CIE-LCHlch(33.61, 66.28, 323.89°)
OKLaboklab(45.12% 0.1424 -0.1092)
OKLCHoklch(45.12% 0.179 322.5)
XYZxyz(14.5363, 7.8230, 26.3303)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81238E #308E23
analogous
#4B238E #81238E #8E2366
triadic
#81238E #8E8123 #238E81
tetradic
#81238E #8E4B23 #308E23 #23668E
square
#81238E #8E4B23 #308E23 #23668E
split-complementary
#81238E #668E23 #238E4B
monochromatic
#280B2C #54175D #81238E #AE2FBF #C656D5

Accessibility & contrast

On white

8.19
#81238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#81238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81238E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81238E#FFFFFF#000000##FFFFFF
##81238E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#33538B
Tritanopia (blue-blind)
#833757
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #81238e;
/* rgb */ color: rgb(129, 35, 142);
/* oklch */ color: oklch(45.1% 0.179 322.5);
Tailwind
colors: {
  custom: {
    50: '#a968b0',
    500: '#81238e',
    950: '#000000',
  },
}
SCSS
$custom: #81238e;
$custom-light: #a968b0;
$custom-dark: #000000;
JSON
{
  "hex": "#81238e",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 292.71,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.17943,
    "h": 322.5
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#81238E
secondary
#60B953
accent
#E44458
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #81238E

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

Preview Lab → · Contrast checker → · Palette generator →

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