#812E92#812E92

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

Color values

HEX#812E92
RGBrgb(129, 46, 146)
HSLhsl(290, 52%, 38%)
HSVhsv(290, 68%, 57%)
CMYKcmyk(11.6%, 68.5%, 0%, 42.7%)
CIE-LABlab(35.39, 49.97, -38.67)
CIE-LCHlch(35.39, 63.19, 322.27°)
OKLaboklab(46.47% 0.1305 -0.1081)
OKLCHoklch(46.47% 0.169 320.4)
XYZxyz(15.2179, 8.6972, 28.0657)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E92 #3F922E
analogous
#4F2E92 #812E92 #922E71
triadic
#812E92 #92812E #2E9281
tetradic
#812E92 #924F2E #3F922E #2E7192
square
#812E92 #924F2E #3F922E #2E7192
split-complementary
#812E92 #71922E #2E924F
monochromatic
#2F1135 #581F63 #812E92 #AA3DC1 #BF6AD0

Accessibility & contrast

On white

7.67
#812E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#812E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E92
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E92#FFFFFF#000000##FFFFFF
##812E921.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4D95
Deuteranopia (green-blind)
#375690
Tritanopia (blue-blind)
#82405C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #812e92;
/* rgb */ color: rgb(129, 46, 146);
/* oklch */ color: oklch(46.5% 0.169 320.4);
Tailwind
colors: {
  custom: {
    50: '#a96eb2',
    500: '#812e92',
    950: '#000000',
  },
}
SCSS
$custom: #812e92;
$custom-light: #a96eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#812e92",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 289.8,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46474,
    "c": 0.16948,
    "h": 320.4
  },
  "luminance": 0.08696
}

Semantic roles & 50–950 ramp

primary
#812E92
secondary
#73B765
accent
#DC4C65
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #812E92

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

Preview Lab → · Contrast checker → · Palette generator →

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