#811BB4#811BB4

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

Color values

HEX#811BB4
RGBrgb(129, 27, 180)
HSLhsl(280, 74%, 41%)
HSVhsv(280, 85%, 71%)
CMYKcmyk(28.3%, 85%, 0%, 29.4%)
CIE-LABlab(35.49, 63.48, -59.00)
CIE-LCHlch(35.49, 86.67, 317.09°)
OKLaboklab(47.3% 0.1418 -0.1676)
OKLCHoklch(47.3% 0.22 310.2)
XYZxyz(17.6818, 8.7467, 43.9280)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811BB4 #4EB41B
analogous
#341BB4 #811BB4 #B41B9A
triadic
#811BB4 #B4811B #1BB481
tetradic
#811BB4 #B4341B #4EB41B #1B9AB4
square
#811BB4 #B4341B #4EB41B #1B9AB4
split-complementary
#811BB4 #9AB41B #1BB434
monochromatic
#350B4A #5B137F #811BB4 #A42DDF #BB62E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##811BB4#FFFFFF#000000##FFFFFF
##811BB41.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)
#004FB8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#7A456B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #811bb4;
/* rgb */ color: rgb(129, 27, 180);
/* oklch */ color: oklch(47.3% 0.220 310.2);
Tailwind
colors: {
  custom: {
    50: '#ab67cb',
    500: '#811bb4',
    950: '#000000',
  },
}
SCSS
$custom: #811bb4;
$custom-light: #ab67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#811bb4",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 280,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47301,
    "c": 0.21954,
    "h": 310.2
  },
  "luminance": 0.08746
}

Semantic roles & 50–950 ramp

primary
#811BB4
secondary
#83CC5F
accent
#F13775
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #811BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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