#8B1BB4#8B1BB4

#8B1BB4 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.7% C 0.222 H 314.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8B1BB4
RGBrgb(139, 27, 180)
HSLhsl(284, 74%, 41%)
HSVhsv(284, 85%, 71%)
CMYKcmyk(22.8%, 85%, 0%, 29.4%)
CIE-LABlab(37.06, 65.07, -56.39)
CIE-LCHlch(37.06, 86.10, 319.09°)
OKLaboklab(48.7% 0.1549 -0.1596)
OKLCHoklch(48.7% 0.222 314.2)
XYZxyz(19.2762, 9.5688, 44.0027)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1BB4 #44B41B
analogous
#3F1BB4 #8B1BB4 #B41B90
triadic
#8B1BB4 #B48B1B #1BB48B
tetradic
#8B1BB4 #B43F1B #44B41B #1B90B4
square
#8B1BB4 #B43F1B #44B41B #1B90B4
split-complementary
#8B1BB4 #90B41B #1BB43F
monochromatic
#390B4A #62137F #8B1BB4 #B02DDF #C462E7

Accessibility & contrast

On white

7.21
#8B1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8B1BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1BB4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1BB4#FFFFFF#000000##FFFFFF
##8B1BB41.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#015AB1
Tritanopia (blue-blind)
#87446B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b1bb4;
/* rgb */ color: rgb(139, 27, 180);
/* oklch */ color: oklch(48.7% 0.222 314.2);
Tailwind
colors: {
  custom: {
    50: '#b269cb',
    500: '#8b1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #8b1bb4;
$custom-light: #b269cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1bb4",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 283.922,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48702,
    "c": 0.22242,
    "h": 314.2
  },
  "luminance": 0.09568
}

Semantic roles & 50–950 ramp

primary
#8B1BB4
secondary
#7CCC5F
accent
#F13769
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8B1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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