#8B1B85#8B1B85

#8B1B85 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.185 H 330.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8B1B85
RGBrgb(139, 27, 133)
HSLhsl(303, 67%, 33%)
HSVhsv(303, 81%, 55%)
CMYKcmyk(0%, 80.6%, 4.3%, 45.5%)
CIE-LABlab(33.92, 56.68, -32.91)
CIE-LCHlch(33.92, 65.54, 329.86°)
OKLaboklab(45.49% 0.1611 -0.0909)
OKLCHoklch(45.49% 0.185 330.6)
XYZxyz(15.2730, 7.9675, 22.9192)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B85 #1B8B21
analogous
#591B8B #8B1B85 #8B1B4D
triadic
#8B1B85 #858B1B #1B858B
tetradic
#8B1B85 #8B591B #1B8B21 #1B4D8B
square
#8B1B85 #8B591B #1B8B21 #1B4D8B
split-complementary
#8B1B85 #4D8B1B #1B8B59
monochromatic
#250723 #581154 #8B1B85 #BE25B6 #DB45D3

Accessibility & contrast

On white

8.10
#8B1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8B1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B85
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B85#FFFFFF#000000##FFFFFF
##8B1B851.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094688
Deuteranopia (green-blind)
#405582
Tritanopia (blue-blind)
#912B50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1b85;
/* rgb */ color: rgb(139, 27, 133);
/* oklch */ color: oklch(45.5% 0.185 330.6);
Tailwind
colors: {
  custom: {
    50: '#b166a9',
    500: '#8b1b85',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b85;
$custom-light: #b166a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b85",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 303.214,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45492,
    "c": 0.185,
    "h": 330.6
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#8B1B85
secondary
#45BC4C
accent
#EA473D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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