#8B1CB4#8B1CB4

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

Color values

HEX#8B1CB4
RGBrgb(139, 28, 180)
HSLhsl(284, 73%, 41%)
HSVhsv(284, 84%, 71%)
CMYKcmyk(22.8%, 84.4%, 0%, 29.4%)
CIE-LABlab(37.14, 64.82, -56.25)
CIE-LCHlch(37.14, 85.82, 319.05°)
OKLaboklab(48.76% 0.1543 -0.1592)
OKLCHoklch(48.76% 0.222 314.1)
XYZxyz(19.2995, 9.6154, 44.0105)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1CB4 #45B41C
analogous
#3F1CB4 #8B1CB4 #B41C91
triadic
#8B1CB4 #B48B1C #1CB48B
tetradic
#8B1CB4 #B43F1C #45B41C #1C91B4
square
#8B1CB4 #B43F1C #45B41C #1C91B4
split-complementary
#8B1CB4 #91B41C #1CB43F
monochromatic
#390C4A #62147F #8B1CB4 #AF2FDF #C364E7

Accessibility & contrast

On white

7.18
#8B1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8B1CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1CB4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1CB4#FFFFFF#000000##FFFFFF
##8B1CB41.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1cb4;
/* rgb */ color: rgb(139, 28, 180);
/* oklch */ color: oklch(48.8% 0.222 314.1);
Tailwind
colors: {
  custom: {
    50: '#b269cb',
    500: '#8b1cb4',
    950: '#000000',
  },
}
SCSS
$custom: #8b1cb4;
$custom-light: #b269cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1cb4",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 283.816,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.2217,
    "h": 314.1
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#8B1CB4
secondary
#7DCC60
accent
#F0386A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8B1CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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