#812EA0#812EA0

#812EA0 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.183 H 315.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#812EA0
RGBrgb(129, 46, 160)
HSLhsl(284, 55%, 40%)
HSVhsv(284, 71%, 63%)
CMYKcmyk(19.4%, 71.2%, 0%, 37.3%)
CIE-LABlab(36.29, 52.83, -45.74)
CIE-LCHlch(36.29, 69.88, 319.11°)
OKLaboklab(47.4% 0.1297 -0.1288)
OKLCHoklch(47.4% 0.183 315.2)
XYZxyz(16.3744, 9.1598, 34.1564)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812EA0 #4DA02E
analogous
#482EA0 #812EA0 #A02E86
triadic
#812EA0 #A0812E #2EA081
tetradic
#812EA0 #A0482E #4DA02E #2E86A0
square
#812EA0 #A0482E #4DA02E #2E86A0
split-complementary
#812EA0 #86A02E #2EA048
monochromatic
#341341 #5B2070 #812EA0 #A442C9 #BB72D6

Accessibility & contrast

On white

7.42
#812EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#812EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812EA0
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812EA0#FFFFFF#000000##FFFFFF
##812EA01.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#2B589D
Tritanopia (blue-blind)
#7F4564
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #812ea0;
/* rgb */ color: rgb(129, 46, 160);
/* oklch */ color: oklch(47.4% 0.183 315.2);
Tailwind
colors: {
  custom: {
    50: '#a96ebd',
    500: '#812ea0',
    950: '#000000',
  },
}
SCSS
$custom: #812ea0;
$custom-light: #a96ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#812ea0",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 283.684,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47402,
    "c": 0.18276,
    "h": 315.2
  },
  "luminance": 0.09159
}

Semantic roles & 50–950 ramp

primary
#812EA0
secondary
#82BE6C
accent
#DF4972
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #812EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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