#811CB4#811CB4

#811CB4 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.4% C 0.219 H 310.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#811CB4
RGBrgb(129, 28, 180)
HSLhsl(280, 73%, 41%)
HSVhsv(280, 84%, 71%)
CMYKcmyk(28.3%, 84.4%, 0%, 29.4%)
CIE-LABlab(35.58, 63.21, -58.85)
CIE-LCHlch(35.58, 86.37, 317.05°)
OKLaboklab(47.37% 0.1412 -0.1672)
OKLCHoklch(47.37% 0.219 310.2)
XYZxyz(17.7051, 8.7933, 43.9358)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811CB4 #4FB41C
analogous
#351CB4 #811CB4 #B41C9B
triadic
#811CB4 #B4811C #1CB481
tetradic
#811CB4 #B4351C #4FB41C #1C9BB4
square
#811CB4 #B4351C #4FB41C #1C9BB4
split-complementary
#811CB4 #9BB41C #1CB435
monochromatic
#350C4A #5B147F #811CB4 #A42FDF #BB64E7

Accessibility & contrast

On white

7.61
#811CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#811CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811CB4
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811CB4#FFFFFF#000000##FFFFFF
##811CB41.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#7A466B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #811cb4;
/* rgb */ color: rgb(129, 28, 180);
/* oklch */ color: oklch(47.4% 0.219 310.2);
Tailwind
colors: {
  custom: {
    50: '#ab68cb',
    500: '#811cb4',
    950: '#000000',
  },
}
SCSS
$custom: #811cb4;
$custom-light: #ab68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#811cb4",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 279.868,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47365,
    "c": 0.2188,
    "h": 310.2
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#811CB4
secondary
#84CC60
accent
#F03876
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #811CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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