#8B1DBC#8B1DBC

#8B1DBC is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.4% C 0.228 H 311.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8B1DBC
RGBrgb(139, 29, 188)
HSLhsl(282, 73%, 43%)
HSVhsv(282, 85%, 74%)
CMYKcmyk(26.1%, 84.6%, 0%, 26.3%)
CIE-LABlab(37.84, 66.12, -59.84)
CIE-LCHlch(37.84, 89.18, 317.85°)
OKLaboklab(49.44% 0.1517 -0.1698)
OKLCHoklch(49.44% 0.228 311.8)
XYZxyz(20.1622, 9.9991, 48.4351)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1DBC #4EBC1D
analogous
#3B1DBC #8B1DBC #BC1D9E
triadic
#8B1DBC #BC8B1D #1DBC8B
tetradic
#8B1DBC #BC3B1D #4EBC1D #1D9EBC
square
#8B1DBC #BC3B1D #4EBC1D #1D9EBC
split-complementary
#8B1DBC #9EBC1D #1DBC3B
monochromatic
#3D0D52 #641587 #8B1DBC #AC36E0 #C26BE8

Accessibility & contrast

On white

7.00
#8B1DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8B1DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B1DBC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1DBC#FFFFFF#000000##FFFFFF
##8B1DBC1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#854870
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b1dbc;
/* rgb */ color: rgb(139, 29, 188);
/* oklch */ color: oklch(49.4% 0.228 311.8);
Tailwind
colors: {
  custom: {
    50: '#b26ad1',
    500: '#8b1dbc',
    950: '#000000',
  },
}
SCSS
$custom: #8b1dbc;
$custom-light: #b26ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1dbc",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 188
  },
  "hsl": {
    "h": 281.509,
    "s": 73.272,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.22765,
    "h": 311.8
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#8B1DBC
secondary
#87CE67
accent
#F03871
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120714
muted
#817A83

Preview Lab

Preview with #8B1DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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