#811FA1#811FA1

#811FA1 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.200 H 315.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#811FA1
RGBrgb(129, 31, 161)
HSLhsl(285, 68%, 38%)
HSVhsv(285, 81%, 63%)
CMYKcmyk(19.9%, 80.7%, 0%, 36.9%)
CIE-LABlab(34.44, 58.53, -49.33)
CIE-LCHlch(34.44, 76.54, 319.87°)
OKLaboklab(46.11% 0.1435 -0.1392)
OKLCHoklch(46.11% 0.2 315.9)
XYZxyz(15.9752, 8.2210, 34.4566)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811FA1 #3FA11F
analogous
#401FA1 #811FA1 #A11F80
triadic
#811FA1 #A1811F #1FA181
tetradic
#811FA1 #A1401F #3FA11F #1F80A1
square
#811FA1 #A1401F #3FA11F #1F80A1
split-complementary
#811FA1 #80A11F #1FA140
monochromatic
#2F0B3A #58156E #811FA1 #AA29D4 #BF5BDF

Accessibility & contrast

On white

7.94
#811FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#811FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811FA1
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811FA1#FFFFFF#000000##FFFFFF
##811FA11.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#1B549E
Tritanopia (blue-blind)
#7F3E61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #811fa1;
/* rgb */ color: rgb(129, 31, 161);
/* oklch */ color: oklch(46.1% 0.200 315.9);
Tailwind
colors: {
  custom: {
    50: '#aa68be',
    500: '#811fa1',
    950: '#000000',
  },
}
SCSS
$custom: #811fa1;
$custom-light: #aa68be;
$custom-dark: #000000;
JSON
{
  "hex": "#811fa1",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 285.231,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46113,
    "c": 0.19989,
    "h": 315.9
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#811FA1
secondary
#73C458
accent
#EB3D68
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #811FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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