#811EC9#811EC9

#811EC9 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 49.2% C 0.236 H 304.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#811EC9
RGBrgb(129, 30, 201)
HSLhsl(275, 74%, 45%)
HSVhsv(275, 85%, 79%)
CMYKcmyk(35.8%, 85.1%, 0%, 21.2%)
CIE-LABlab(37.50, 67.06, -68.07)
CIE-LCHlch(37.50, 95.55, 314.57°)
OKLaboklab(49.23% 0.1336 -0.1943)
OKLCHoklch(49.23% 0.236 304.5)
XYZxyz(20.0577, 9.8128, 56.0844)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811EC9 #66C91E
analogous
#2C1EC9 #811EC9 #C91EBB
triadic
#811EC9 #C9811E #1EC981
tetradic
#811EC9 #C92C1E #66C91E #1EBBC9
square
#811EC9 #C92C1E #66C91E #1EBBC9
split-complementary
#811EC9 #BBC91E #1EC92C
monochromatic
#3D0E5E #5F1694 #811EC9 #9F41E3 #BA77EB

Accessibility & contrast

On white

7.09
#811EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#811EC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811EC9
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811EC9#FFFFFF#000000##FFFFFF
##811EC91.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#735078
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #811ec9;
/* rgb */ color: rgb(129, 30, 201);
/* oklch */ color: oklch(49.2% 0.236 304.5);
Tailwind
colors: {
  custom: {
    50: '#ad6adb',
    500: '#811ec9',
    950: '#000000',
  },
}
SCSS
$custom: #811ec9;
$custom-light: #ad6adb;
$custom-dark: #000000;
JSON
{
  "hex": "#811ec9",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 201
  },
  "hsl": {
    "h": 274.737,
    "s": 74.026,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4923,
    "c": 0.23576,
    "h": 304.5
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#811EC9
secondary
#9AD271
accent
#F13785
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #811EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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