#812E84#812E84

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

Color values

HEX#812E84
RGBrgb(129, 46, 132)
HSLhsl(298, 48%, 35%)
HSVhsv(298, 65%, 52%)
CMYKcmyk(2.3%, 65.2%, 0%, 48.2%)
CIE-LABlab(34.58, 47.28, -31.35)
CIE-LCHlch(34.58, 56.73, 326.45°)
OKLaboklab(45.62% 0.1304 -0.0868)
OKLCHoklch(45.62% 0.157 326.3)
XYZxyz(14.1948, 8.2880, 22.6774)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E84 #31842E
analogous
#562E84 #812E84 #842E5C
triadic
#812E84 #84812E #2E8481
tetradic
#812E84 #84562E #31842E #2E5C84
square
#812E84 #84562E #31842E #2E5C84
split-complementary
#812E84 #5C842E #2E8456
monochromatic
#280E29 #551E57 #812E84 #AD3EB1 #C564C9

Accessibility & contrast

On white

7.90
#812E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#812E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E84
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E84#FFFFFF#000000##FFFFFF
##812E841.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B87
Deuteranopia (green-blind)
#405582
Tritanopia (blue-blind)
#843A55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #812e84;
/* rgb */ color: rgb(129, 46, 132);
/* oklch */ color: oklch(45.6% 0.157 326.3);
Tailwind
colors: {
  custom: {
    50: '#a86da8',
    500: '#812e84',
    950: '#000000',
  },
}
SCSS
$custom: #812e84;
$custom-light: #a86da8;
$custom-dark: #000000;
JSON
{
  "hex": "#812e84",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 297.907,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45619,
    "c": 0.1566,
    "h": 326.3
  },
  "luminance": 0.08287
}

Semantic roles & 50–950 ramp

primary
#812E84
secondary
#61B05E
accent
#D85055
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #812E84

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

Preview Lab → · Contrast checker → · Palette generator →

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