#812876#812876

#812876 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.153 H 333.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#812876
RGBrgb(129, 40, 118)
HSLhsl(307, 53%, 33%)
HSVhsv(307, 69%, 51%)
CMYKcmyk(0%, 69%, 8.5%, 49.4%)
CIE-LABlab(32.91, 47.36, -25.23)
CIE-LCHlch(32.91, 53.66, 331.95°)
OKLaboklab(44.16% 0.1366 -0.0691)
OKLCHoklch(44.16% 0.153 333.2)
XYZxyz(13.0821, 7.4938, 17.8935)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812876 #288133
analogous
#5F2881 #812876 #812849
triadic
#812876 #768128 #287681
tetradic
#812876 #815F28 #288133 #284981
square
#812876 #815F28 #288133 #284981
split-complementary
#812876 #498128 #28815F
monochromatic
#240B21 #521A4B #812876 #B036A1 #CB58BD

Accessibility & contrast

On white

8.40
#812876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#812876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812876
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812876#FFFFFF#000000##FFFFFF
##8128761.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254578
Deuteranopia (green-blind)
#445274
Tritanopia (blue-blind)
#87304B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812876;
/* rgb */ color: rgb(129, 40, 118);
/* oklch */ color: oklch(44.2% 0.153 333.2);
Tailwind
colors: {
  custom: {
    50: '#a86a9e',
    500: '#812876',
    950: '#000000',
  },
}
SCSS
$custom: #812876;
$custom-light: #a86a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#812876",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 307.416,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44164,
    "c": 0.15305,
    "h": 333.2
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#812876
secondary
#54B060
accent
#DC5E4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #812876

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

Preview Lab → · Contrast checker → · Palette generator →

#812876 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva