#81269E#81269E

#81269E is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.190 H 316.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#81269E
RGBrgb(129, 38, 158)
HSLhsl(286, 61%, 38%)
HSVhsv(286, 76%, 62%)
CMYKcmyk(18.4%, 75.9%, 0%, 38%)
CIE-LABlab(35.05, 55.56, -46.53)
CIE-LCHlch(35.05, 72.47, 320.06°)
OKLaboklab(46.48% 0.1379 -0.131)
OKLCHoklch(46.48% 0.19 316.5)
XYZxyz(15.9170, 8.5226, 33.1477)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81269E #439E26
analogous
#45269E #81269E #9E267F
triadic
#81269E #9E8126 #269E81
tetradic
#81269E #9E4526 #439E26 #267F9E
square
#81269E #9E4526 #439E26 #267F9E
split-complementary
#81269E #7F9E26 #269E45
monochromatic
#300E3B #591A6D #81269E #A933CE #BE65DA

Accessibility & contrast

On white

7.77
#81269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#81269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81269E
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81269E#FFFFFF#000000##FFFFFF
##81269E1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#26559B
Tritanopia (blue-blind)
#7F4061
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #81269e;
/* rgb */ color: rgb(129, 38, 158);
/* oklch */ color: oklch(46.5% 0.190 316.5);
Tailwind
colors: {
  custom: {
    50: '#a96abb',
    500: '#81269e',
    950: '#000000',
  },
}
SCSS
$custom: #81269e;
$custom-light: #a96abb;
$custom-dark: #000000;
JSON
{
  "hex": "#81269e",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 285.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46476,
    "c": 0.19025,
    "h": 316.5
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#81269E
secondary
#77C060
accent
#E4436A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81269E

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

Preview Lab → · Contrast checker → · Palette generator →

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