#811EBB#811EBB

#811EBB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.1% C 0.223 H 308.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#811EBB
RGBrgb(129, 30, 187)
HSLhsl(278, 72%, 43%)
HSVhsv(278, 84%, 73%)
CMYKcmyk(31%, 84%, 0%, 26.7%)
CIE-LABlab(36.34, 64.10, -61.77)
CIE-LCHlch(36.34, 89.02, 316.06°)
OKLaboklab(48.06% 0.1379 -0.1758)
OKLCHoklch(48.06% 0.223 308.1)
XYZxyz(18.4853, 9.1838, 47.8029)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811EBB #58BB1E
analogous
#321EBB #811EBB #BB1EA7
triadic
#811EBB #BB811E #1EBB81
tetradic
#811EBB #BB321E #58BB1E #1EA7BB
square
#811EBB #BB321E #58BB1E #1EA7BB
split-complementary
#811EBB #A7BB1E #1EBB32
monochromatic
#380D52 #5D1686 #811EBB #A137DF #BA6CE7

Accessibility & contrast

On white

7.40
#811EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#811EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811EBB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811EBB#FFFFFF#000000##FFFFFF
##811EBB1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#774A70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #811ebb;
/* rgb */ color: rgb(129, 30, 187);
/* oklch */ color: oklch(48.1% 0.223 308.1);
Tailwind
colors: {
  custom: {
    50: '#ac69d0',
    500: '#811ebb',
    950: '#000000',
  },
}
SCSS
$custom: #811ebb;
$custom-light: #ac69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#811ebb",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 277.834,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48062,
    "c": 0.22341,
    "h": 308.1
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#811EBB
secondary
#8DCD67
accent
#EF397C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #811EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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