#812175#812175

#812175 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.161 H 333.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#812175
RGBrgb(129, 33, 117)
HSLhsl(308, 59%, 32%)
HSVhsv(308, 74%, 51%)
CMYKcmyk(0%, 74.4%, 9.3%, 49.4%)
CIE-LABlab(31.90, 49.88, -26.18)
CIE-LCHlch(31.90, 56.33, 332.31°)
OKLaboklab(43.42% 0.1444 -0.0717)
OKLCHoklch(43.42% 0.161 333.6)
XYZxyz(12.8081, 7.0403, 17.5105)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812175 #21812D
analogous
#5D2181 #812175 #812145
triadic
#812175 #758121 #217581
tetradic
#812175 #815D21 #21812D #214581
square
#812175 #815D21 #21812D #214581
split-complementary
#812175 #458121 #21815D
monochromatic
#20081D #501549 #812175 #B22DA1 #D14BC0

Accessibility & contrast

On white

8.72
#812175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812175
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812175#FFFFFF#000000##FFFFFF
##8121751.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4277
Deuteranopia (green-blind)
#415073
Tritanopia (blue-blind)
#872A48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #812175;
/* rgb */ color: rgb(129, 33, 117);
/* oklch */ color: oklch(43.4% 0.161 333.6);
Tailwind
colors: {
  custom: {
    50: '#a9669d',
    500: '#812175',
    950: '#000000',
  },
}
SCSS
$custom: #812175;
$custom-light: #a9669d;
$custom-dark: #000000;
JSON
{
  "hex": "#812175",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 307.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.1612,
    "h": 333.6
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#812175
secondary
#4AB457
accent
#E25945
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #812175

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

Preview Lab → · Contrast checker → · Palette generator →

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