#811AB3#811AB3

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

Color values

HEX#811AB3
RGBrgb(129, 26, 179)
HSLhsl(280, 75%, 40%)
HSVhsv(280, 85%, 70%)
CMYKcmyk(27.9%, 85.5%, 0%, 29.8%)
CIE-LABlab(35.32, 63.54, -58.68)
CIE-LCHlch(35.32, 86.49, 317.27°)
OKLaboklab(47.16% 0.1427 -0.1667)
OKLCHoklch(47.16% 0.219 310.6)
XYZxyz(17.5577, 8.6610, 43.3859)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811AB3 #4CB31A
analogous
#341AB3 #811AB3 #B31A99
triadic
#811AB3 #B3811A #1AB381
tetradic
#811AB3 #B3341A #4CB31A #1A99B3
square
#811AB3 #B3341A #4CB31A #1A99B3
split-complementary
#811AB3 #99B31A #1AB334
monochromatic
#340A48 #5A127E #811AB3 #A52AE0 #BB60E8

Accessibility & contrast

On white

7.69
#811AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#811AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811AB3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811AB3#FFFFFF#000000##FFFFFF
##811AB31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #811ab3;
/* rgb */ color: rgb(129, 26, 179);
/* oklch */ color: oklch(47.2% 0.219 310.6);
Tailwind
colors: {
  custom: {
    50: '#ab67cb',
    500: '#811ab3',
    950: '#000000',
  },
}
SCSS
$custom: #811ab3;
$custom-light: #ab67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#811ab3",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 280.392,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4716,
    "c": 0.21939,
    "h": 310.6
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#811AB3
secondary
#81CC5D
accent
#F13774
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #811AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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