#81269B#81269B

#81269B is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.188 H 317.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#81269B
RGBrgb(129, 38, 155)
HSLhsl(287, 61%, 38%)
HSVhsv(287, 75%, 61%)
CMYKcmyk(16.8%, 75.5%, 0%, 39.2%)
CIE-LABlab(34.84, 54.96, -45.04)
CIE-LCHlch(34.84, 71.06, 320.67°)
OKLaboklab(46.27% 0.1383 -0.1267)
OKLCHoklch(46.27% 0.188 317.5)
XYZxyz(15.6619, 8.4206, 31.8043)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81269B #409B26
analogous
#47269B #81269B #9B267A
triadic
#81269B #9B8126 #269B81
tetradic
#81269B #9B4726 #409B26 #267A9B
square
#81269B #9B4726 #409B26 #267A9B
split-complementary
#81269B #7A9B26 #269B47
monochromatic
#2F0E39 #581A6A #81269B #AA32CC #BE63D9

Accessibility & contrast

On white

7.82
#81269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#81269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81269B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81269B#FFFFFF#000000##FFFFFF
##81269B1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#295598
Tritanopia (blue-blind)
#803F5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #81269b;
/* rgb */ color: rgb(129, 38, 155);
/* oklch */ color: oklch(46.3% 0.188 317.5);
Tailwind
colors: {
  custom: {
    50: '#a96ab9',
    500: '#81269b',
    950: '#000000',
  },
}
SCSS
$custom: #81269b;
$custom-light: #a96ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#81269b",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 286.667,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46266,
    "c": 0.18754,
    "h": 317.5
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#81269B
secondary
#74BE5F
accent
#E44468
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #81269B

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

Preview Lab → · Contrast checker → · Palette generator →

#81269B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva