#812DA0#812DA0

#812DA0 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.184 H 315.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#812DA0
RGBrgb(129, 45, 160)
HSLhsl(284, 56%, 40%)
HSVhsv(284, 72%, 63%)
CMYKcmyk(19.4%, 71.9%, 0%, 37.3%)
CIE-LABlab(36.14, 53.24, -45.98)
CIE-LCHlch(36.14, 70.34, 319.19°)
OKLaboklab(47.3% 0.1307 -0.1295)
OKLCHoklch(47.3% 0.184 315.3)
XYZxyz(16.3358, 9.0826, 34.1435)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812DA0 #4CA02D
analogous
#472DA0 #812DA0 #A02D86
triadic
#812DA0 #A0812D #2DA081
tetradic
#812DA0 #A0472D #4CA02D #2D86A0
square
#812DA0 #A0472D #4CA02D #2D86A0
split-complementary
#812DA0 #86A02D #2DA047
monochromatic
#341240 #5A2070 #812DA0 #A541C9 #BB70D7

Accessibility & contrast

On white

7.46
#812DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#812DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812DA0
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812DA0#FFFFFF#000000##FFFFFF
##812DA01.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#2A579D
Tritanopia (blue-blind)
#7F4563
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #812da0;
/* rgb */ color: rgb(129, 45, 160);
/* oklch */ color: oklch(47.3% 0.184 315.3);
Tailwind
colors: {
  custom: {
    50: '#a96ebd',
    500: '#812da0',
    950: '#000000',
  },
}
SCSS
$custom: #812da0;
$custom-light: #a96ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#812da0",
  "rgb": {
    "r": 129,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 283.826,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47297,
    "c": 0.18399,
    "h": 315.3
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#812DA0
secondary
#81BE6B
accent
#DF4871
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #812DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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