#812E83#812E83

#812E83 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.6% C 0.156 H 326.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#812E83
RGBrgb(129, 46, 131)
HSLhsl(299, 48%, 35%)
HSVhsv(299, 65%, 51%)
CMYKcmyk(1.5%, 64.9%, 0%, 48.6%)
CIE-LABlab(34.52, 47.09, -30.82)
CIE-LCHlch(34.52, 56.28, 326.80°)
OKLaboklab(45.56% 0.1303 -0.0852)
OKLCHoklch(45.56% 0.156 326.8)
XYZxyz(14.1267, 8.2607, 22.3187)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E83 #30832E
analogous
#562E83 #812E83 #832E5B
triadic
#812E83 #83812E #2E8381
tetradic
#812E83 #83562E #30832E #2E5B83
square
#812E83 #83562E #30832E #2E5B83
split-complementary
#812E83 #5B832E #2E8356
monochromatic
#280E28 #541E56 #812E83 #AE3EB0 #C663C8

Accessibility & contrast

On white

7.92
#812E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#812E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E83
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E83#FFFFFF#000000##FFFFFF
##812E831.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A86
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#853A54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #812e83;
/* rgb */ color: rgb(129, 46, 131);
/* oklch */ color: oklch(45.6% 0.156 326.8);
Tailwind
colors: {
  custom: {
    50: '#a86da7',
    500: '#812e83',
    950: '#000000',
  },
}
SCSS
$custom: #812e83;
$custom-light: #a86da7;
$custom-dark: #000000;
JSON
{
  "hex": "#812e83",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 298.588,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.1557,
    "h": 326.8
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#812E83
secondary
#60AF5E
accent
#D85053
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #812E83

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

Preview Lab → · Contrast checker → · Palette generator →

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