#812D83#812D83

#812D83 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.4% C 0.157 H 326.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#812D83
RGBrgb(129, 45, 131)
HSLhsl(299, 49%, 35%)
HSVhsv(299, 66%, 51%)
CMYKcmyk(1.5%, 65.6%, 0%, 48.6%)
CIE-LABlab(34.36, 47.53, -31.07)
CIE-LCHlch(34.36, 56.79, 326.83°)
OKLaboklab(45.45% 0.1315 -0.086)
OKLCHoklch(45.45% 0.157 326.8)
XYZxyz(14.0881, 8.1835, 22.3059)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812D83 #2F832D
analogous
#562D83 #812D83 #832D5A
triadic
#812D83 #83812D #2D8381
tetradic
#812D83 #83562D #2F832D #2D5A83
square
#812D83 #83562D #2F832D #2D5A83
split-complementary
#812D83 #5A832D #2D8356
monochromatic
#270E28 #541D55 #812D83 #AE3DB1 #C662C9

Accessibility & contrast

On white

7.96
#812D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#812D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812D83
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812D83#FFFFFF#000000##FFFFFF
##812D831.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A86
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#853954
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #812d83;
/* rgb */ color: rgb(129, 45, 131);
/* oklch */ color: oklch(45.4% 0.157 326.8);
Tailwind
colors: {
  custom: {
    50: '#a86da7',
    500: '#812d83',
    950: '#000000',
  },
}
SCSS
$custom: #812d83;
$custom-light: #a86da7;
$custom-dark: #000000;
JSON
{
  "hex": "#812d83",
  "rgb": {
    "r": 129,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 298.605,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45446,
    "c": 0.15713,
    "h": 326.8
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#812D83
secondary
#5EAF5C
accent
#D84F53
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #812D83

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

Preview Lab → · Contrast checker → · Palette generator →

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