#811FBB#811FBB

#811FBB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.1% C 0.223 H 308.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#811FBB
RGBrgb(129, 31, 187)
HSLhsl(278, 72%, 43%)
HSVhsv(278, 83%, 73%)
CMYKcmyk(31%, 83.4%, 0%, 26.7%)
CIE-LABlab(36.43, 63.82, -61.61)
CIE-LCHlch(36.43, 88.71, 316.01°)
OKLaboklab(48.13% 0.1373 -0.1753)
OKLCHoklch(48.13% 0.223 308.1)
XYZxyz(18.5110, 9.2352, 47.8115)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811FBB #59BB1F
analogous
#331FBB #811FBB #BB1FA7
triadic
#811FBB #BB811F #1FBB81
tetradic
#811FBB #BB331F #59BB1F #1FA7BB
square
#811FBB #BB331F #59BB1F #1FA7BB
split-complementary
#811FBB #A7BB1F #1FBB33
monochromatic
#390E52 #5D1687 #811FBB #A139DE #BA6EE7

Accessibility & contrast

On white

7.38
#811FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#811FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811FBB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811FBB#FFFFFF#000000##FFFFFF
##811FBB1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#774A70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #811fbb;
/* rgb */ color: rgb(129, 31, 187);
/* oklch */ color: oklch(48.1% 0.223 308.1);
Tailwind
colors: {
  custom: {
    50: '#ac69d0',
    500: '#811fbb',
    950: '#000000',
  },
}
SCSS
$custom: #811fbb;
$custom-light: #ac69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#811fbb",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 187
  },
  "hsl": {
    "h": 277.692,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48129,
    "c": 0.22265,
    "h": 308.1
  },
  "luminance": 0.09235
}

Semantic roles & 50–950 ramp

primary
#811FBB
secondary
#8ECD69
accent
#EE3A7D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #811FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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