#811BBB#811BBB

#811BBB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.9% C 0.226 H 308.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#811BBB
RGBrgb(129, 27, 187)
HSLhsl(278, 75%, 42%)
HSVhsv(278, 86%, 73%)
CMYKcmyk(31%, 85.6%, 0%, 26.7%)
CIE-LABlab(36.06, 64.92, -62.22)
CIE-LCHlch(36.06, 89.92, 316.21°)
OKLaboklab(47.87% 0.1398 -0.1771)
OKLCHoklch(47.87% 0.226 308.3)
XYZxyz(18.4129, 9.0392, 47.7788)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811BBB #55BB1B
analogous
#311BBB #811BBB #BB1BA5
triadic
#811BBB #BB811B #1BBB81
tetradic
#811BBB #BB311B #55BB1B #1BA5BB
square
#811BBB #BB311B #55BB1B #1BA5BB
split-complementary
#811BBB #A5BB1B #1BBB31
monochromatic
#370C50 #5C1386 #811BBB #A232E1 #BA67E9

Accessibility & contrast

On white

7.48
#811BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#811BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811BBB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811BBB#FFFFFF#000000##FFFFFF
##811BBB1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#77496F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #811bbb;
/* rgb */ color: rgb(129, 27, 187);
/* oklch */ color: oklch(47.9% 0.226 308.3);
Tailwind
colors: {
  custom: {
    50: '#ac68d0',
    500: '#811bbb',
    950: '#000000',
  },
}
SCSS
$custom: #811bbb;
$custom-light: #ac68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#811bbb",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 187
  },
  "hsl": {
    "h": 278.25,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47871,
    "c": 0.22557,
    "h": 308.3
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#811BBB
secondary
#8ACE63
accent
#F1367A
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110714
muted
#807A82

Preview Lab

Preview with #811BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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