#811EA0#811EA0

#811EA0 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 46.0% C 0.200 H 316.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#811EA0
RGBrgb(129, 30, 160)
HSLhsl(286, 68%, 37%)
HSVhsv(286, 81%, 63%)
CMYKcmyk(19.4%, 81.3%, 0%, 37.3%)
CIE-LABlab(34.26, 58.64, -49.01)
CIE-LCHlch(34.26, 76.42, 320.11°)
OKLaboklab(45.97% 0.1444 -0.1383)
OKLCHoklch(45.97% 0.2 316.2)
XYZxyz(15.8617, 8.1344, 33.9855)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811EA0 #3DA01E
analogous
#401EA0 #811EA0 #A01E7E
triadic
#811EA0 #A0811E #1EA081
tetradic
#811EA0 #A0401E #3DA01E #1E7EA0
square
#811EA0 #A0401E #3DA01E #1E7EA0
split-complementary
#811EA0 #7EA01E #1EA040
monochromatic
#2E0B39 #57146C #811EA0 #AB28D4 #C059E0

Accessibility & contrast

On white

7.99
#811EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#811EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811EA0
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811EA0#FFFFFF#000000##FFFFFF
##811EA01.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #811ea0;
/* rgb */ color: rgb(129, 30, 160);
/* oklch */ color: oklch(46.0% 0.200 316.2);
Tailwind
colors: {
  custom: {
    50: '#aa67bd',
    500: '#811ea0',
    950: '#000000',
  },
}
SCSS
$custom: #811ea0;
$custom-light: #aa67bd;
$custom-dark: #000000;
JSON
{
  "hex": "#811ea0",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 285.692,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45966,
    "c": 0.19993,
    "h": 316.2
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#811EA0
secondary
#70C456
accent
#EB3D66
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #811EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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