#8B1CB3#8B1CB3

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

Color values

HEX#8B1CB3
RGBrgb(139, 28, 179)
HSLhsl(284, 73%, 41%)
HSVhsv(284, 84%, 70%)
CMYKcmyk(22.3%, 84.4%, 0%, 29.8%)
CIE-LABlab(37.07, 64.62, -55.78)
CIE-LCHlch(37.07, 85.37, 319.20°)
OKLaboklab(48.69% 0.1545 -0.1578)
OKLCHoklch(48.69% 0.221 314.4)
XYZxyz(19.1980, 9.5748, 43.4759)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1CB3 #44B31C
analogous
#3F1CB3 #8B1CB3 #B31C8F
triadic
#8B1CB3 #B38B1C #1CB38B
tetradic
#8B1CB3 #B33F1C #44B31C #1C8FB3
square
#8B1CB3 #B33F1C #44B31C #1C8FB3
split-complementary
#8B1CB3 #8FB31C #1CB33F
monochromatic
#390B49 #62147E #8B1CB3 #B02EDE #C463E7

Accessibility & contrast

On white

7.20
#8B1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1CB3
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1CB3#FFFFFF#000000##FFFFFF
##8B1CB31.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#075AB0
Tritanopia (blue-blind)
#87446B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b1cb3;
/* rgb */ color: rgb(139, 28, 179);
/* oklch */ color: oklch(48.7% 0.221 314.4);
Tailwind
colors: {
  custom: {
    50: '#b269cb',
    500: '#8b1cb3',
    950: '#000000',
  },
}
SCSS
$custom: #8b1cb3;
$custom-light: #b269cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1cb3",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 284.106,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.22087,
    "h": 314.4
  },
  "luminance": 0.09574
}

Semantic roles & 50–950 ramp

primary
#8B1CB3
secondary
#7CCB5F
accent
#F03869
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8B1CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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