#811CA8#811CA8

#811CA8 is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.4% C 0.208 H 313.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#811CA8
RGBrgb(129, 28, 168)
HSLhsl(283, 71%, 38%)
HSVhsv(283, 83%, 66%)
CMYKcmyk(23.2%, 83.3%, 0%, 34.1%)
CIE-LABlab(34.65, 60.80, -53.20)
CIE-LCHlch(34.65, 80.79, 318.81°)
OKLaboklab(46.43% 0.1442 -0.1506)
OKLCHoklch(46.43% 0.208 313.8)
XYZxyz(16.5352, 8.3254, 37.7741)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811CA8 #43A81C
analogous
#3B1CA8 #811CA8 #A81C89
triadic
#811CA8 #A8811C #1CA881
tetradic
#811CA8 #A83B1C #43A81C #1C89A8
square
#811CA8 #A83B1C #43A81C #1C89A8
split-complementary
#811CA8 #89A81C #1CA83B
monochromatic
#300B3F #591374 #811CA8 #A926DB #BE5BE4

Accessibility & contrast

On white

7.88
#811CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#811CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811CA8
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811CA8#FFFFFF#000000##FFFFFF
##811CA81.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0454A5
Tritanopia (blue-blind)
#7D4064
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #811ca8;
/* rgb */ color: rgb(129, 28, 168);
/* oklch */ color: oklch(46.4% 0.208 313.8);
Tailwind
colors: {
  custom: {
    50: '#aa67c3',
    500: '#811ca8',
    950: '#000000',
  },
}
SCSS
$custom: #811ca8;
$custom-light: #aa67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#811ca8",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 283.286,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46425,
    "c": 0.20848,
    "h": 313.8
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#811CA8
secondary
#77C758
accent
#EE3A6C
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #811CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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