#812E89#812E89

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

Color values

HEX#812E89
RGBrgb(129, 46, 137)
HSLhsl(295, 50%, 36%)
HSVhsv(295, 66%, 54%)
CMYKcmyk(5.8%, 66.4%, 0%, 46.3%)
CIE-LABlab(34.86, 48.22, -34.00)
CIE-LCHlch(34.86, 59.00, 324.82°)
OKLaboklab(45.92% 0.1305 -0.0945)
OKLCHoklch(45.92% 0.161 324.1)
XYZxyz(14.5452, 8.4281, 24.5227)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E89 #36892E
analogous
#532E89 #812E89 #892E63
triadic
#812E89 #89812E #2E8981
tetradic
#812E89 #89532E #36892E #2E6389
square
#812E89 #89532E #36892E #2E6389
split-complementary
#812E89 #63892E #2E8953
monochromatic
#2B0F2D #561F5B #812E89 #AC3DB7 #C366CC

Accessibility & contrast

On white

7.82
#812E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#812E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E89
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E89#FFFFFF#000000##FFFFFF
##812E891.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8C
Deuteranopia (green-blind)
#3D5587
Tritanopia (blue-blind)
#833C57
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #812e89;
/* rgb */ color: rgb(129, 46, 137);
/* oklch */ color: oklch(45.9% 0.161 324.1);
Tailwind
colors: {
  custom: {
    50: '#a86dac',
    500: '#812e89',
    950: '#000000',
  },
}
SCSS
$custom: #812e89;
$custom-light: #a86dac;
$custom-dark: #000000;
JSON
{
  "hex": "#812e89",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 294.725,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45915,
    "c": 0.16113,
    "h": 324.1
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#812E89
secondary
#68B260
accent
#D94F5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #812E89

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

Preview Lab → · Contrast checker → · Palette generator →

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