#812A91#812A91

#812A91 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.174 H 321.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#812A91
RGBrgb(129, 42, 145)
HSLhsl(291, 55%, 37%)
HSVhsv(291, 71%, 57%)
CMYKcmyk(11%, 71%, 0%, 43.1%)
CIE-LABlab(34.74, 51.45, -39.11)
CIE-LCHlch(34.74, 64.63, 322.76°)
OKLaboklab(45.98% 0.1351 -0.1093)
OKLCHoklch(45.98% 0.174 321)
XYZxyz(14.9915, 8.3682, 27.6081)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812A91 #3A912A
analogous
#4E2A91 #812A91 #912A6E
triadic
#812A91 #91812A #2A9181
tetradic
#812A91 #914E2A #3A912A #2A6E91
square
#812A91 #914E2A #3A912A #2A6E91
split-complementary
#812A91 #6E912A #2A914E
monochromatic
#2D0F32 #571C62 #812A91 #AB38C0 #C163D2

Accessibility & contrast

On white

7.86
#812A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#812A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812A91
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812A91#FFFFFF#000000##FFFFFF
##812A911.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C94
Deuteranopia (green-blind)
#35558F
Tritanopia (blue-blind)
#823D5A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #812a91;
/* rgb */ color: rgb(129, 42, 145);
/* oklch */ color: oklch(46.0% 0.174 321.0);
Tailwind
colors: {
  custom: {
    50: '#a96cb2',
    500: '#812a91',
    950: '#000000',
  },
}
SCSS
$custom: #812a91;
$custom-light: #a96cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#812a91",
  "rgb": {
    "r": 129,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 290.68,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45983,
    "c": 0.17376,
    "h": 321
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#812A91
secondary
#6DB85F
accent
#DE4961
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812A91

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

Preview Lab → · Contrast checker → · Palette generator →

#812A91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva