#8B3DB1#8B3DB1

#8B3DB1 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.6% C 0.184 H 312.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8B3DB1
RGBrgb(139, 61, 177)
HSLhsl(280, 49%, 47%)
HSVhsv(280, 66%, 69%)
CMYKcmyk(21.5%, 65.5%, 0%, 30.6%)
CIE-LABlab(41.22, 52.00, -47.90)
CIE-LCHlch(41.22, 70.70, 317.35°)
OKLaboklab(51.59% 0.1245 -0.1349)
OKLCHoklch(51.59% 0.184 312.7)
XYZxyz(20.2506, 12.0013, 42.8362)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DB1 #63B13D
analogous
#513DB1 #8B3DB1 #B13D9D
triadic
#8B3DB1 #B18B3D #3DB18B
tetradic
#8B3DB1 #B1513D #63B13D #3D9DB1
square
#8B3DB1 #B1513D #63B13D #3D9DB1
split-complementary
#8B3DB1 #9DB13D #3DB151
monochromatic
#441E56 #672D83 #8B3DB1 #A762C9 #C190D9

Accessibility & contrast

On white

6.18
#8B3DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8B3DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DB1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DB1#FFFFFF#000000##FFFFFF
##8B3DB11.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#3463AE
Tritanopia (blue-blind)
#875472
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3db1;
/* rgb */ color: rgb(139, 61, 177);
/* oklch */ color: oklch(51.6% 0.184 312.7);
Tailwind
colors: {
  custom: {
    50: '#b078c9',
    500: '#8b3db1',
    950: '#000000',
  },
}
SCSS
$custom: #8b3db1;
$custom-light: #b078c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3db1",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 280.345,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51586,
    "c": 0.18355,
    "h": 312.7
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#8B3DB1
secondary
#9AC486
accent
#D8507C
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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