#811AB4#811AB4

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

Color values

HEX#811AB4
RGBrgb(129, 26, 180)
HSLhsl(280, 75%, 40%)
HSVhsv(280, 86%, 71%)
CMYKcmyk(28.3%, 85.6%, 0%, 29.4%)
CIE-LABlab(35.40, 63.74, -59.15)
CIE-LCHlch(35.40, 86.96, 317.14°)
OKLaboklab(47.24% 0.1424 -0.168)
OKLCHoklch(47.24% 0.22 310.3)
XYZxyz(17.6592, 8.7016, 43.9205)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811AB4 #4DB41A
analogous
#341AB4 #811AB4 #B41A9A
triadic
#811AB4 #B4811A #1AB481
tetradic
#811AB4 #B4341A #4DB41A #1A9AB4
square
#811AB4 #B4341A #4DB41A #1A9AB4
split-complementary
#811AB4 #9AB41A #1AB434
monochromatic
#340B49 #5B127F #811AB4 #A42BE0 #BB60E8

Accessibility & contrast

On white

7.66
#811AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#811AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811AB4
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811AB4#FFFFFF#000000##FFFFFF
##811AB41.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.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: #811ab4;
/* rgb */ color: rgb(129, 26, 180);
/* oklch */ color: oklch(47.2% 0.220 310.3);
Tailwind
colors: {
  custom: {
    50: '#ab67cb',
    500: '#811ab4',
    950: '#000000',
  },
}
SCSS
$custom: #811ab4;
$custom-light: #ab67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#811ab4",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 280.13,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4724,
    "c": 0.22025,
    "h": 310.3
  },
  "luminance": 0.08701
}

Semantic roles & 50–950 ramp

primary
#811AB4
secondary
#82CC5D
accent
#F13674
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #811AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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