#811CB3#811CB3

#811CB3 is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.3% C 0.218 H 310.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#811CB3
RGBrgb(129, 28, 179)
HSLhsl(280, 73%, 41%)
HSVhsv(280, 84%, 70%)
CMYKcmyk(27.9%, 84.4%, 0%, 29.8%)
CIE-LABlab(35.50, 63.01, -58.39)
CIE-LCHlch(35.50, 85.90, 317.18°)
OKLaboklab(47.29% 0.1414 -0.1658)
OKLCHoklch(47.29% 0.218 310.5)
XYZxyz(17.6036, 8.7527, 43.4012)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811CB3 #4EB31C
analogous
#351CB3 #811CB3 #B31C9A
triadic
#811CB3 #B3811C #1CB381
tetradic
#811CB3 #B3351C #4EB31C #1C9AB3
square
#811CB3 #B3351C #4EB31C #1C9AB3
split-complementary
#811CB3 #9AB31C #1CB335
monochromatic
#350B49 #5B147E #811CB3 #A42EDE #BB63E7

Accessibility & contrast

On white

7.64
#811CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#811CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811CB3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811CB3#FFFFFF#000000##FFFFFF
##811CB31.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#7A456B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #811cb3;
/* rgb */ color: rgb(129, 28, 179);
/* oklch */ color: oklch(47.3% 0.218 310.5);
Tailwind
colors: {
  custom: {
    50: '#ab68cb',
    500: '#811cb3',
    950: '#000000',
  },
}
SCSS
$custom: #811cb3;
$custom-light: #ab68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#811cb3",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 280.132,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47285,
    "c": 0.21794,
    "h": 310.5
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#811CB3
secondary
#83CB5F
accent
#F03875
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #811CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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