#812E93#812E93

#812E93 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.170 H 320.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#812E93
RGBrgb(129, 46, 147)
HSLhsl(289, 52%, 38%)
HSVhsv(289, 69%, 58%)
CMYKcmyk(12.2%, 68.7%, 0%, 42.4%)
CIE-LABlab(35.46, 50.17, -39.18)
CIE-LCHlch(35.46, 63.66, 322.01°)
OKLaboklab(46.54% 0.1305 -0.1096)
OKLCHoklch(46.54% 0.17 320)
XYZxyz(15.2961, 8.7284, 28.4772)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E93 #40932E
analogous
#4E2E93 #812E93 #932E72
triadic
#812E93 #93812E #2E9381
tetradic
#812E93 #934E2E #40932E #2E7293
square
#812E93 #934E2E #40932E #2E7293
split-complementary
#812E93 #72932E #2E934E
monochromatic
#2F1136 #581F64 #812E93 #AA3DC2 #BE6BD1

Accessibility & contrast

On white

7.65
#812E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#812E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E93
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E93#FFFFFF#000000##FFFFFF
##812E931.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084E96
Deuteranopia (green-blind)
#375691
Tritanopia (blue-blind)
#81405D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #812e93;
/* rgb */ color: rgb(129, 46, 147);
/* oklch */ color: oklch(46.5% 0.170 320.0);
Tailwind
colors: {
  custom: {
    50: '#a96eb3',
    500: '#812e93',
    950: '#000000',
  },
}
SCSS
$custom: #812e93;
$custom-light: #a96eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#812e93",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 289.307,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46538,
    "c": 0.17042,
    "h": 320
  },
  "luminance": 0.08728
}

Semantic roles & 50–950 ramp

primary
#812E93
secondary
#74B865
accent
#DC4C66
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #812E93

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

Preview Lab → · Contrast checker → · Palette generator →

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