#812E95#812E95

#812E95 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.172 H 319.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#812E95
RGBrgb(129, 46, 149)
HSLhsl(288, 53%, 38%)
HSVhsv(288, 69%, 58%)
CMYKcmyk(13.4%, 69.1%, 0%, 41.6%)
CIE-LABlab(35.58, 50.57, -40.21)
CIE-LCHlch(35.58, 64.61, 321.52°)
OKLaboklab(46.67% 0.1304 -0.1126)
OKLCHoklch(46.67% 0.172 319.2)
XYZxyz(15.4544, 8.7918, 29.3109)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E95 #42952E
analogous
#4E2E95 #812E95 #952E75
triadic
#812E95 #95812E #2E9581
tetradic
#812E95 #954E2E #42952E #2E7595
square
#812E95 #954E2E #42952E #2E7595
split-complementary
#812E95 #75952E #2E954E
monochromatic
#301137 #592066 #812E95 #A93DC3 #BE6CD2

Accessibility & contrast

On white

7.61
#812E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#812E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E95
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E95#FFFFFF#000000##FFFFFF
##812E951.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024E98
Deuteranopia (green-blind)
#355693
Tritanopia (blue-blind)
#81415E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #812e95;
/* rgb */ color: rgb(129, 46, 149);
/* oklch */ color: oklch(46.7% 0.172 319.2);
Tailwind
colors: {
  custom: {
    50: '#a96eb5',
    500: '#812e95',
    950: '#000000',
  },
}
SCSS
$custom: #812e95;
$custom-light: #a96eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#812e95",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 288.35,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46667,
    "c": 0.1723,
    "h": 319.2
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

primary
#812E95
secondary
#76B966
accent
#DC4C68
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #812E95

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

Preview Lab → · Contrast checker → · Palette generator →

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