#811BAD#811BAD

#811BAD is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.7% C 0.214 H 312.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#811BAD
RGBrgb(129, 27, 173)
HSLhsl(282, 73%, 39%)
HSVhsv(282, 84%, 68%)
CMYKcmyk(25.4%, 84.4%, 0%, 32.2%)
CIE-LABlab(34.94, 62.07, -55.73)
CIE-LCHlch(34.94, 83.42, 318.08°)
OKLaboklab(46.75% 0.1437 -0.158)
OKLCHoklch(46.75% 0.214 312.3)
XYZxyz(16.9866, 8.4686, 40.2669)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811BAD #47AD1B
analogous
#381BAD #811BAD #AD1B90
triadic
#811BAD #AD811B #1BAD81
tetradic
#811BAD #AD381B #47AD1B #1B90AD
square
#811BAD #AD381B #47AD1B #1B90AD
split-complementary
#811BAD #90AD1B #1BAD38
monochromatic
#320A43 #5A1378 #811BAD #A728DD #BC5DE6

Accessibility & contrast

On white

7.80
#811BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#811BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811BAD
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811BAD#FFFFFF#000000##FFFFFF
##811BAD1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#7C4267
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #811bad;
/* rgb */ color: rgb(129, 27, 173);
/* oklch */ color: oklch(46.7% 0.214 312.3);
Tailwind
colors: {
  custom: {
    50: '#ab67c6',
    500: '#811bad',
    950: '#000000',
  },
}
SCSS
$custom: #811bad;
$custom-light: #ab67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#811bad",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 173
  },
  "hsl": {
    "h": 281.918,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46746,
    "c": 0.21354,
    "h": 312.3
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#811BAD
secondary
#7CCA5A
accent
#F0386F
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #811BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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