#811DB3#811DB3

#811DB3 is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.3% C 0.217 H 310.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#811DB3
RGBrgb(129, 29, 179)
HSLhsl(280, 72%, 41%)
HSVhsv(280, 84%, 70%)
CMYKcmyk(27.9%, 83.8%, 0%, 29.8%)
CIE-LABlab(35.60, 62.73, -58.24)
CIE-LCHlch(35.60, 85.60, 317.13°)
OKLaboklab(47.35% 0.1408 -0.1654)
OKLCHoklch(47.35% 0.217 310.4)
XYZxyz(17.6277, 8.8009, 43.4092)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811DB3 #4FB31D
analogous
#361DB3 #811DB3 #B31D9A
triadic
#811DB3 #B3811D #1DB381
tetradic
#811DB3 #B3361D #4FB31D #1D9AB3
square
#811DB3 #B3361D #4FB31D #1D9AB3
split-complementary
#811DB3 #9AB31D #1DB336
monochromatic
#350C4A #5B147E #811DB3 #A430DD #BB64E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##811DB3#FFFFFF#000000##FFFFFF
##811DB31.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)
#0050B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#7A466B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #811db3;
/* rgb */ color: rgb(129, 29, 179);
/* oklch */ color: oklch(47.3% 0.217 310.4);
Tailwind
colors: {
  custom: {
    50: '#ab68cb',
    500: '#811db3',
    950: '#000000',
  },
}
SCSS
$custom: #811db3;
$custom-light: #ab68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#811db3",
  "rgb": {
    "r": 129,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 280,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4735,
    "c": 0.21718,
    "h": 310.4
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#811DB3
secondary
#84CB61
accent
#EF3976
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #811DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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