#811FA7#811FA7

#811FA7 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.6% C 0.205 H 313.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#811FA7
RGBrgb(129, 31, 167)
HSLhsl(283, 69%, 39%)
HSVhsv(283, 81%, 65%)
CMYKcmyk(22.8%, 81.4%, 0%, 34.5%)
CIE-LABlab(34.88, 59.72, -52.23)
CIE-LCHlch(34.88, 79.34, 318.82°)
OKLaboklab(46.56% 0.1423 -0.1477)
OKLCHoklch(46.56% 0.205 313.9)
XYZxyz(16.5171, 8.4377, 37.3103)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811FA7 #45A71F
analogous
#3D1FA7 #811FA7 #A71F89
triadic
#811FA7 #A7811F #1FA781
tetradic
#811FA7 #A73D1F #45A71F #1F89A7
square
#811FA7 #A73D1F #45A71F #1F89A7
split-complementary
#811FA7 #89A71F #1FA73D
monochromatic
#310C40 #591573 #811FA7 #A82BD8 #BD5FE1

Accessibility & contrast

On white

7.81
#811FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#811FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811FA7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811FA7#FFFFFF#000000##FFFFFF
##811FA71.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0E54A4
Tritanopia (blue-blind)
#7D4164
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #811fa7;
/* rgb */ color: rgb(129, 31, 167);
/* oklch */ color: oklch(46.6% 0.205 313.9);
Tailwind
colors: {
  custom: {
    50: '#aa68c2',
    500: '#811fa7',
    950: '#000000',
  },
}
SCSS
$custom: #811fa7;
$custom-light: #aa68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#811fa7",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 283.235,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4656,
    "c": 0.2051,
    "h": 313.9
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#811FA7
secondary
#7AC65C
accent
#EC3C6D
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #811FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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