#811EA8#811EA8

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

Color values

HEX#811EA8
RGBrgb(129, 30, 168)
HSLhsl(283, 70%, 39%)
HSVhsv(283, 82%, 66%)
CMYKcmyk(23.2%, 82.1%, 0%, 34.1%)
CIE-LABlab(34.85, 60.22, -52.88)
CIE-LCHlch(34.85, 80.14, 318.71°)
OKLaboklab(46.56% 0.1428 -0.1496)
OKLCHoklch(46.56% 0.207 313.7)
XYZxyz(16.5842, 8.4234, 37.7905)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811EA8 #45A81E
analogous
#3C1EA8 #811EA8 #A81E8A
triadic
#811EA8 #A8811E #1EA881
tetradic
#811EA8 #A83C1E #45A81E #1E8AA8
square
#811EA8 #A83C1E #45A81E #1E8AA8
split-complementary
#811EA8 #8AA81E #1EA83C
monochromatic
#310B40 #591574 #811EA8 #A82AD9 #BD5EE2

Accessibility & contrast

On white

7.82
#811EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#811EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811EA8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811EA8#FFFFFF#000000##FFFFFF
##811EA81.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0854A5
Tritanopia (blue-blind)
#7D4165
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #811ea8;
/* rgb */ color: rgb(129, 30, 168);
/* oklch */ color: oklch(46.6% 0.207 313.7);
Tailwind
colors: {
  custom: {
    50: '#aa68c3',
    500: '#811ea8',
    950: '#000000',
  },
}
SCSS
$custom: #811ea8;
$custom-light: #aa68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#811ea8",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 283.043,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46563,
    "c": 0.20684,
    "h": 313.7
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#811EA8
secondary
#7AC75B
accent
#ED3B6D
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #811EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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