#811DA0#811DA0

#811DA0 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 45.9% C 0.201 H 316.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#811DA0
RGBrgb(129, 29, 160)
HSLhsl(286, 69%, 37%)
HSVhsv(286, 82%, 63%)
CMYKcmyk(19.4%, 81.9%, 0%, 37.3%)
CIE-LABlab(34.16, 58.94, -49.18)
CIE-LCHlch(34.16, 76.76, 320.16°)
OKLaboklab(45.89% 0.1452 -0.1388)
OKLCHoklch(45.89% 0.201 316.3)
XYZxyz(15.8368, 8.0846, 33.9772)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811DA0 #3CA01D
analogous
#401DA0 #811DA0 #A01D7D
triadic
#811DA0 #A0811D #1DA081
tetradic
#811DA0 #A0401D #3CA01D #1D7DA0
square
#811DA0 #A0401D #3CA01D #1D7DA0
split-complementary
#811DA0 #7DA01D #1DA040
monochromatic
#2D0A38 #57146C #811DA0 #AB26D4 #C057E1

Accessibility & contrast

On white

8.03
#811DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#811DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811DA0
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811DA0#FFFFFF#000000##FFFFFF
##811DA01.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#1B539D
Tritanopia (blue-blind)
#7F3D60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811da0;
/* rgb */ color: rgb(129, 29, 160);
/* oklch */ color: oklch(45.9% 0.201 316.3);
Tailwind
colors: {
  custom: {
    50: '#aa67bd',
    500: '#811da0',
    950: '#000000',
  },
}
SCSS
$custom: #811da0;
$custom-light: #aa67bd;
$custom-dark: #000000;
JSON
{
  "hex": "#811da0",
  "rgb": {
    "r": 129,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 285.802,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45894,
    "c": 0.20081,
    "h": 316.3
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#811DA0
secondary
#6FC455
accent
#EC3C65
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #811DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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