#811EA7#811EA7

#811EA7 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.206 H 314.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#811EA7
RGBrgb(129, 30, 167)
HSLhsl(283, 70%, 39%)
HSVhsv(283, 82%, 65%)
CMYKcmyk(22.8%, 82%, 0%, 34.5%)
CIE-LABlab(34.77, 60.02, -52.40)
CIE-LCHlch(34.77, 79.67, 318.88°)
OKLaboklab(46.49% 0.143 -0.1482)
OKLCHoklch(46.49% 0.206 314)
XYZxyz(16.4914, 8.3863, 37.3017)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811EA7 #44A71E
analogous
#3D1EA7 #811EA7 #A71E88
triadic
#811EA7 #A7811E #1EA781
tetradic
#811EA7 #A73D1E #44A71E #1E88A7
square
#811EA7 #A73D1E #44A71E #1E88A7
split-complementary
#811EA7 #88A71E #1EA73D
monochromatic
#310B3F #591573 #811EA7 #A82AD9 #BD5DE2

Accessibility & contrast

On white

7.84
#811EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#811EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811EA7
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811EA7#FFFFFF#000000##FFFFFF
##811EA71.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0C54A4
Tritanopia (blue-blind)
#7D4064
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #811ea7;
/* rgb */ color: rgb(129, 30, 167);
/* oklch */ color: oklch(46.5% 0.206 314.0);
Tailwind
colors: {
  custom: {
    50: '#aa68c2',
    500: '#811ea7',
    950: '#000000',
  },
}
SCSS
$custom: #811ea7;
$custom-light: #aa68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#811ea7",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 283.358,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46488,
    "c": 0.20597,
    "h": 314
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#811EA7
secondary
#78C65B
accent
#EC3B6D
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #811EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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