#81269D#81269D

#81269D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.189 H 316.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#81269D
RGBrgb(129, 38, 157)
HSLhsl(286, 61%, 38%)
HSVhsv(286, 76%, 62%)
CMYKcmyk(17.8%, 75.8%, 0%, 38.4%)
CIE-LABlab(34.98, 55.36, -46.03)
CIE-LCHlch(34.98, 72.00, 320.26°)
OKLaboklab(46.41% 0.1381 -0.1296)
OKLCHoklch(46.41% 0.189 316.8)
XYZxyz(15.8313, 8.4883, 32.6962)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81269D #429D26
analogous
#45269D #81269D #9D267D
triadic
#81269D #9D8126 #269D81
tetradic
#81269D #9D4526 #429D26 #267D9D
square
#81269D #9D4526 #429D26 #267D9D
split-complementary
#81269D #7D9D26 #269D45
monochromatic
#300E3A #591A6C #81269D #A933CE #BE64D9

Accessibility & contrast

On white

7.78
#81269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81269D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81269D#FFFFFF#000000##FFFFFF
##81269D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#27559A
Tritanopia (blue-blind)
#7F4060
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #81269d;
/* rgb */ color: rgb(129, 38, 157);
/* oklch */ color: oklch(46.4% 0.189 316.8);
Tailwind
colors: {
  custom: {
    50: '#a96abb',
    500: '#81269d',
    950: '#000000',
  },
}
SCSS
$custom: #81269d;
$custom-light: #a96abb;
$custom-dark: #000000;
JSON
{
  "hex": "#81269d",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 285.882,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46406,
    "c": 0.18934,
    "h": 316.8
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#81269D
secondary
#76BF60
accent
#E44469
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81269D

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

Preview Lab → · Contrast checker → · Palette generator →

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