#812494#812494

#812494 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.184 H 320.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#812494
RGBrgb(129, 36, 148)
HSLhsl(290, 61%, 36%)
HSVhsv(290, 76%, 58%)
CMYKcmyk(12.8%, 75.7%, 0%, 42%)
CIE-LABlab(34.12, 54.32, -41.93)
CIE-LCHlch(34.12, 68.62, 322.34°)
OKLaboklab(45.61% 0.141 -0.1175)
OKLCHoklch(45.61% 0.184 320.2)
XYZxyz(15.0288, 8.0678, 28.7768)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812494 #379424
analogous
#492494 #812494 #94246F
triadic
#812494 #948124 #249481
tetradic
#812494 #944924 #379424 #246F94
square
#812494 #944924 #379424 #246F94
split-complementary
#812494 #6F9424 #249449
monochromatic
#2B0C32 #561863 #812494 #AC30C5 #C25BD7

Accessibility & contrast

On white

8.04
#812494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#812494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812494
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812494#FFFFFF#000000##FFFFFF
##8124941.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#2F5391
Tritanopia (blue-blind)
#813A5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #812494;
/* rgb */ color: rgb(129, 36, 148);
/* oklch */ color: oklch(45.6% 0.184 320.2);
Tailwind
colors: {
  custom: {
    50: '#a969b4',
    500: '#812494',
    950: '#000000',
  },
}
SCSS
$custom: #812494;
$custom-light: #a969b4;
$custom-dark: #000000;
JSON
{
  "hex": "#812494",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 289.821,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.18353,
    "h": 320.2
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#812494
secondary
#69BC58
accent
#E4445F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812494

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

Preview Lab → · Contrast checker → · Palette generator →

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