#812176#812176

#812176 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.162 H 333.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#812176
RGBrgb(129, 33, 118)
HSLhsl(307, 59%, 32%)
HSVhsv(307, 74%, 51%)
CMYKcmyk(0%, 74.4%, 8.5%, 49.4%)
CIE-LABlab(31.95, 50.05, -26.73)
CIE-LCHlch(31.95, 56.74, 331.90°)
OKLaboklab(43.48% 0.1444 -0.0733)
OKLCHoklch(43.48% 0.162 333.1)
XYZxyz(12.8672, 7.0639, 17.8218)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812176 #21812C
analogous
#5C2181 #812176 #812146
triadic
#812176 #768121 #217681
tetradic
#812176 #815C21 #21812C #214681
square
#812176 #815C21 #21812C #214681
split-complementary
#812176 #468121 #21815C
monochromatic
#20081D #501549 #812176 #B22DA3 #D14BC2

Accessibility & contrast

On white

8.70
#812176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#812176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812176
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812176#FFFFFF#000000##FFFFFF
##8121761.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4278
Deuteranopia (green-blind)
#415074
Tritanopia (blue-blind)
#872B49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #812176;
/* rgb */ color: rgb(129, 33, 118);
/* oklch */ color: oklch(43.5% 0.162 333.1);
Tailwind
colors: {
  custom: {
    50: '#a9679e',
    500: '#812176',
    950: '#000000',
  },
}
SCSS
$custom: #812176;
$custom-light: #a9679e;
$custom-dark: #000000;
JSON
{
  "hex": "#812176",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 306.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43475,
    "c": 0.16197,
    "h": 333.1
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#812176
secondary
#4AB456
accent
#E25745
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #812176

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

Preview Lab → · Contrast checker → · Palette generator →

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