#811CA1#811CA1

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

Color values

HEX#811CA1
RGBrgb(129, 28, 161)
HSLhsl(286, 70%, 37%)
HSVhsv(286, 83%, 63%)
CMYKcmyk(19.9%, 82.6%, 0%, 36.9%)
CIE-LABlab(34.13, 59.42, -49.82)
CIE-LCHlch(34.13, 77.55, 320.02°)
OKLaboklab(45.9% 0.1457 -0.1406)
OKLCHoklch(45.9% 0.203 316)
XYZxyz(15.9005, 8.0715, 34.4317)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811CA1 #3CA11C
analogous
#3F1CA1 #811CA1 #A11C7F
triadic
#811CA1 #A1811C #1CA181
tetradic
#811CA1 #A13F1C #3CA11C #1C7FA1
square
#811CA1 #A13F1C #3CA11C #1C7FA1
split-complementary
#811CA1 #7FA11C #1CA13F
monochromatic
#2D0A39 #57136D #811CA1 #AB25D5 #C056E2

Accessibility & contrast

On white

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

On black

2.61
#811CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##811CA1#FFFFFF#000000##FFFFFF
##811CA11.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#18539E
Tritanopia (blue-blind)
#7F3D60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811ca1;
/* rgb */ color: rgb(129, 28, 161);
/* oklch */ color: oklch(45.9% 0.203 316.0);
Tailwind
colors: {
  custom: {
    50: '#aa67be',
    500: '#811ca1',
    950: '#000000',
  },
}
SCSS
$custom: #811ca1;
$custom-light: #aa67be;
$custom-dark: #000000;
JSON
{
  "hex": "#811ca1",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 285.564,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.20252,
    "h": 316
  },
  "luminance": 0.08071
}

Semantic roles & 50–950 ramp

primary
#811CA1
secondary
#6FC554
accent
#ED3B66
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #811CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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