#811FB4#811FB4

#811FB4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.6% C 0.216 H 310.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#811FB4
RGBrgb(129, 31, 180)
HSLhsl(279, 71%, 41%)
HSVhsv(279, 83%, 71%)
CMYKcmyk(28.3%, 82.8%, 0%, 29.4%)
CIE-LABlab(35.87, 62.36, -58.38)
CIE-LCHlch(35.87, 85.42, 316.89°)
OKLaboklab(47.57% 0.1392 -0.1658)
OKLCHoklch(47.57% 0.216 310)
XYZxyz(17.7798, 8.9428, 43.9607)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811FB4 #52B41F
analogous
#371FB4 #811FB4 #B41F9D
triadic
#811FB4 #B4811F #1FB481
tetradic
#811FB4 #B4371F #52B41F #1F9DB4
square
#811FB4 #B4371F #52B41F #1F9DB4
split-complementary
#811FB4 #9DB41F #1FB437
monochromatic
#360D4C #5C1680 #811FB4 #A334DC #BA68E5

Accessibility & contrast

On white

7.53
#811FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#811FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811FB4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811FB4#FFFFFF#000000##FFFFFF
##811FB41.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #811fb4;
/* rgb */ color: rgb(129, 31, 180);
/* oklch */ color: oklch(47.6% 0.216 310.0);
Tailwind
colors: {
  custom: {
    50: '#ab69cb',
    500: '#811fb4',
    950: '#000000',
  },
}
SCSS
$custom: #811fb4;
$custom-light: #ab69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#811fb4",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 279.463,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.21648,
    "h": 310
  },
  "luminance": 0.08942
}

Semantic roles & 50–950 ramp

primary
#811FB4
secondary
#87CB64
accent
#ED3A78
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #811FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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