#81269A#81269A

#81269A is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.187 H 317.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#81269A
RGBrgb(129, 38, 154)
HSLhsl(287, 60%, 38%)
HSVhsv(287, 75%, 60%)
CMYKcmyk(16.2%, 75.3%, 0%, 39.6%)
CIE-LABlab(34.78, 54.77, -44.54)
CIE-LCHlch(34.78, 70.59, 320.88°)
OKLaboklab(46.2% 0.1384 -0.1252)
OKLCHoklch(46.2% 0.187 317.9)
XYZxyz(15.5783, 8.3871, 31.3639)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81269A #3F9A26
analogous
#47269A #81269A #9A2679
triadic
#81269A #9A8126 #269A81
tetradic
#81269A #9A4726 #3F9A26 #26799A
square
#81269A #9A4726 #3F9A26 #26799A
split-complementary
#81269A #799A26 #269A47
monochromatic
#2F0E38 #581A69 #81269A #AA32CB #BF62D8

Accessibility & contrast

On white

7.84
#81269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81269A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81269A#FFFFFF#000000##FFFFFF
##81269A1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#2A5597
Tritanopia (blue-blind)
#803E5E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #81269a;
/* rgb */ color: rgb(129, 38, 154);
/* oklch */ color: oklch(46.2% 0.187 317.9);
Tailwind
colors: {
  custom: {
    50: '#a96ab8',
    500: '#81269a',
    950: '#000000',
  },
}
SCSS
$custom: #81269a;
$custom-light: #a96ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#81269a",
  "rgb": {
    "r": 129,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 287.069,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46197,
    "c": 0.18664,
    "h": 317.9
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#81269A
secondary
#73BE5E
accent
#E44467
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #81269A

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

Preview Lab → · Contrast checker → · Palette generator →

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