#811CA7#811CA7

#811CA7 is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.3% C 0.208 H 314.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#811CA7
RGBrgb(129, 28, 167)
HSLhsl(284, 71%, 38%)
HSVhsv(284, 83%, 65%)
CMYKcmyk(22.8%, 83.2%, 0%, 34.5%)
CIE-LABlab(34.58, 60.60, -52.72)
CIE-LCHlch(34.58, 80.32, 318.98°)
OKLaboklab(46.35% 0.1444 -0.1492)
OKLCHoklch(46.35% 0.208 314.1)
XYZxyz(16.4424, 8.2882, 37.2854)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811CA7 #42A71C
analogous
#3B1CA7 #811CA7 #A71C87
triadic
#811CA7 #A7811C #1CA781
tetradic
#811CA7 #A73B1C #42A71C #1C87A7
square
#811CA7 #A73B1C #42A71C #1C87A7
split-complementary
#811CA7 #87A71C #1CA73B
monochromatic
#300A3E #591373 #811CA7 #A926DB #BE5AE3

Accessibility & contrast

On white

7.90
#811CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#811CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811CA7
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811CA7#FFFFFF#000000##FFFFFF
##811CA71.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0854A4
Tritanopia (blue-blind)
#7D4064
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #811ca7;
/* rgb */ color: rgb(129, 28, 167);
/* oklch */ color: oklch(46.3% 0.208 314.1);
Tailwind
colors: {
  custom: {
    50: '#aa67c2',
    500: '#811ca7',
    950: '#000000',
  },
}
SCSS
$custom: #811ca7;
$custom-light: #aa67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#811ca7",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 283.597,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46349,
    "c": 0.20763,
    "h": 314.1
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#811CA7
secondary
#76C758
accent
#EE3A6B
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #811CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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