#81269F#81269F

#81269F is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.191 H 316.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#81269F
RGBrgb(129, 38, 159)
HSLhsl(285, 61%, 39%)
HSVhsv(285, 76%, 62%)
CMYKcmyk(18.9%, 76.1%, 0%, 37.6%)
CIE-LABlab(35.12, 55.76, -47.02)
CIE-LCHlch(35.12, 72.94, 319.86°)
OKLaboklab(46.55% 0.1378 -0.1325)
OKLCHoklch(46.55% 0.191 316.1)
XYZxyz(16.0034, 8.5572, 33.6029)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81269F #449F26
analogous
#44269F #81269F #9F2680
triadic
#81269F #9F8126 #269F81
tetradic
#81269F #9F4426 #449F26 #26809F
square
#81269F #9F4426 #449F26 #26809F
split-complementary
#81269F #809F26 #269F44
monochromatic
#310E3C #591A6E #81269F #A834CE #BD65DA

Accessibility & contrast

On white

7.75
#81269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#81269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81269F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81269F#FFFFFF#000000##FFFFFF
##81269F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#25559C
Tritanopia (blue-blind)
#7F4061
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #81269f;
/* rgb */ color: rgb(129, 38, 159);
/* oklch */ color: oklch(46.5% 0.191 316.1);
Tailwind
colors: {
  custom: {
    50: '#aa6abc',
    500: '#81269f',
    950: '#000000',
  },
}
SCSS
$custom: #81269f;
$custom-light: #aa6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#81269f",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 285.124,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46547,
    "c": 0.19115,
    "h": 316.1
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#81269F
secondary
#78C061
accent
#E5436B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81269F

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

Preview Lab → · Contrast checker → · Palette generator →

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