#812E88#812E88

#812E88 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 324.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#812E88
RGBrgb(129, 46, 136)
HSLhsl(295, 49%, 36%)
HSVhsv(295, 66%, 53%)
CMYKcmyk(5.1%, 66.2%, 0%, 46.7%)
CIE-LABlab(34.80, 48.03, -33.47)
CIE-LCHlch(34.80, 58.54, 325.13°)
OKLaboklab(45.86% 0.1305 -0.0929)
OKLCHoklch(45.86% 0.16 324.5)
XYZxyz(14.4738, 8.3995, 24.1467)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E88 #35882E
analogous
#542E88 #812E88 #882E62
triadic
#812E88 #88812E #2E8881
tetradic
#812E88 #88542E #35882E #2E6288
square
#812E88 #88542E #35882E #2E6288
split-complementary
#812E88 #62882E #2E8854
monochromatic
#2A0F2D #561F5A #812E88 #AC3DB6 #C365CB

Accessibility & contrast

On white

7.84
#812E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#812E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E88
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E88#FFFFFF#000000##FFFFFF
##812E881.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)
#1C4B8B
Deuteranopia (green-blind)
#3E5586
Tritanopia (blue-blind)
#843C57
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #812e88;
/* rgb */ color: rgb(129, 46, 136);
/* oklch */ color: oklch(45.9% 0.160 324.5);
Tailwind
colors: {
  custom: {
    50: '#a86dab',
    500: '#812e88',
    950: '#000000',
  },
}
SCSS
$custom: #812e88;
$custom-light: #a86dab;
$custom-dark: #000000;
JSON
{
  "hex": "#812e88",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 295.333,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45855,
    "c": 0.16022,
    "h": 324.5
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#812E88
secondary
#66B260
accent
#D94F5A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812E88

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

Preview Lab → · Contrast checker → · Palette generator →

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