#8B1B9F#8B1B9F

#8B1B9F is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.2% C 0.205 H 320.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8B1B9F
RGBrgb(139, 27, 159)
HSLhsl(291, 71%, 36%)
HSVhsv(291, 83%, 62%)
CMYKcmyk(12.6%, 83%, 0%, 37.6%)
CIE-LABlab(35.55, 61.14, -46.24)
CIE-LCHlch(35.55, 76.66, 322.90°)
OKLaboklab(47.17% 0.1591 -0.1298)
OKLCHoklch(47.17% 0.205 320.8)
XYZxyz(17.2967, 8.7770, 33.5772)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B9F #2F9F1B
analogous
#491B9F #8B1B9F #9F1B71
triadic
#8B1B9F #9F8B1B #1B9F8B
tetradic
#8B1B9F #9F491B #2F9F1B #1B719F
square
#8B1B9F #9F491B #2F9F1B #1B719F
split-complementary
#8B1B9F #719F1B #1B9F49
monochromatic
#300936 #5D126B #8B1B9F #B924D3 #CC53E2

Accessibility & contrast

On white

7.62
#8B1B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8B1B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B9F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B9F#FFFFFF#000000##FFFFFF
##8B1B9F1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#2C579C
Tritanopia (blue-blind)
#8C395F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b1b9f;
/* rgb */ color: rgb(139, 27, 159);
/* oklch */ color: oklch(47.2% 0.205 320.8);
Tailwind
colors: {
  custom: {
    50: '#b168bc',
    500: '#8b1b9f',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b9f;
$custom-light: #b168bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b9f",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 290.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47174,
    "c": 0.20529,
    "h": 320.8
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#8B1B9F
secondary
#63C551
accent
#EE3A55
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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