#8311B4#8311B4

#8311B4 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 47.1% C 0.226 H 311.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8311B4
RGBrgb(131, 17, 180)
HSLhsl(282, 83%, 39%)
HSVhsv(282, 91%, 71%)
CMYKcmyk(27.2%, 90.6%, 0%, 29.4%)
CIE-LABlab(35.05, 66.02, -59.71)
CIE-LCHlch(35.05, 89.02, 317.87°)
OKLaboklab(47.06% 0.1497 -0.1696)
OKLCHoklch(47.06% 0.226 311.4)
XYZxyz(17.7972, 8.5220, 43.8786)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8311B4 #42B411
analogous
#3111B4 #8311B4 #B41193
triadic
#8311B4 #B48311 #11B483
tetradic
#8311B4 #B43111 #42B411 #1193B4
square
#8311B4 #B43111 #42B411 #1193B4
split-complementary
#8311B4 #93B411 #11B431
monochromatic
#320644 #5A0C7C #8311B4 #AB19E9 #BF51EF

Accessibility & contrast

On white

7.77
#8311B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8311B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8311B4
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8311B4#FFFFFF#000000##FFFFFF
##8311B41.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#7C426A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8311b4;
/* rgb */ color: rgb(131, 17, 180);
/* oklch */ color: oklch(47.1% 0.226 311.4);
Tailwind
colors: {
  custom: {
    50: '#ad65cb',
    500: '#8311b4',
    950: '#000000',
  },
}
SCSS
$custom: #8311b4;
$custom-light: #ad65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8311b4",
  "rgb": {
    "r": 131,
    "g": 17,
    "b": 180
  },
  "hsl": {
    "h": 281.963,
    "s": 82.741,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47057,
    "c": 0.2262,
    "h": 311.4
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#8311B4
secondary
#77D050
accent
#F92F6C
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8311B4

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

Preview Lab → · Contrast checker → · Palette generator →

#8311B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva