#8B3BB1#8B3BB1

#8B3BB1 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.3% C 0.186 H 312.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8B3BB1
RGBrgb(139, 59, 177)
HSLhsl(281, 50%, 46%)
HSVhsv(281, 67%, 69%)
CMYKcmyk(21.5%, 66.7%, 0%, 30.6%)
CIE-LABlab(40.88, 52.93, -48.43)
CIE-LCHlch(40.88, 71.75, 317.54°)
OKLaboklab(51.35% 0.1268 -0.1364)
OKLCHoklch(51.35% 0.186 312.9)
XYZxyz(20.1458, 11.7918, 42.8013)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BB1 #61B13B
analogous
#503BB1 #8B3BB1 #B13B9C
triadic
#8B3BB1 #B18B3B #3BB18B
tetradic
#8B3BB1 #B1503B #61B13B #3B9CB1
square
#8B3BB1 #B1503B #61B13B #3B9CB1
split-complementary
#8B3BB1 #9CB13B #3BB150
monochromatic
#431C55 #672C83 #8B3BB1 #A85FCA #C18DD9

Accessibility & contrast

On white

6.25
#8B3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8B3BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BB1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BB1#FFFFFF#000000##FFFFFF
##8B3BB11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#3262AE
Tritanopia (blue-blind)
#875271
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b3bb1;
/* rgb */ color: rgb(139, 59, 177);
/* oklch */ color: oklch(51.3% 0.186 312.9);
Tailwind
colors: {
  custom: {
    50: '#b077c9',
    500: '#8b3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bb1;
$custom-light: #b077c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bb1",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 280.678,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51345,
    "c": 0.18628,
    "h": 312.9
  },
  "luminance": 0.11791
}

Semantic roles & 50–950 ramp

primary
#8B3BB1
secondary
#99C484
accent
#DA4E7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

#8B3BB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva