#812A84#812A84

#812A84 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.162 H 326.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#812A84
RGBrgb(129, 42, 132)
HSLhsl(298, 52%, 34%)
HSVhsv(298, 68%, 52%)
CMYKcmyk(2.3%, 68.2%, 0%, 48.2%)
CIE-LABlab(33.96, 48.99, -32.32)
CIE-LCHlch(33.96, 58.70, 326.58°)
OKLaboklab(45.18% 0.1352 -0.0896)
OKLCHoklch(45.18% 0.162 326.5)
XYZxyz(14.0458, 7.9899, 22.6277)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812A84 #2D842A
analogous
#542A84 #812A84 #842A5A
triadic
#812A84 #84812A #2A8481
tetradic
#812A84 #84542A #2D842A #2A5A84
square
#812A84 #84542A #2D842A #2A5A84
split-complementary
#812A84 #5A842A #2A8454
monochromatic
#260C27 #541B56 #812A84 #AE39B2 #C85DCB

Accessibility & contrast

On white

8.08
#812A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#812A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812A84
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812A84#FFFFFF#000000##FFFFFF
##812A841.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4987
Deuteranopia (green-blind)
#3E5482
Tritanopia (blue-blind)
#843753
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #812a84;
/* rgb */ color: rgb(129, 42, 132);
/* oklch */ color: oklch(45.2% 0.162 326.5);
Tailwind
colors: {
  custom: {
    50: '#a86ba8',
    500: '#812a84',
    950: '#000000',
  },
}
SCSS
$custom: #812a84;
$custom-light: #a86ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#812a84",
  "rgb": {
    "r": 129,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 298,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45175,
    "c": 0.16214,
    "h": 326.5
  },
  "luminance": 0.07989
}

Semantic roles & 50–950 ramp

primary
#812A84
secondary
#5CB159
accent
#DB4D51
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #812A84

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

Preview Lab → · Contrast checker → · Palette generator →

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