#8B1B83#8B1B83

#8B1B83 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.183 H 331.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8B1B83
RGBrgb(139, 27, 131)
HSLhsl(304, 67%, 33%)
HSVhsv(304, 81%, 55%)
CMYKcmyk(0%, 80.6%, 5.8%, 45.5%)
CIE-LABlab(33.80, 56.36, -31.85)
CIE-LCHlch(33.80, 64.73, 330.53°)
OKLaboklab(45.37% 0.1611 -0.0878)
OKLCHoklch(45.37% 0.184 331.4)
XYZxyz(15.1361, 7.9128, 22.1985)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B83 #1B8B23
analogous
#5B1B8B #8B1B83 #8B1B4B
triadic
#8B1B83 #838B1B #1B838B
tetradic
#8B1B83 #8B5B1B #1B8B23 #1B4B8B
square
#8B1B83 #8B5B1B #1B8B23 #1B4B8B
split-complementary
#8B1B83 #4B8B1B #1B8B5B
monochromatic
#250722 #581153 #8B1B83 #BE25B3 #DB45D0

Accessibility & contrast

On white

8.13
#8B1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B83
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B83#FFFFFF#000000##FFFFFF
##8B1B831.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4686
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#912A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1b83;
/* rgb */ color: rgb(139, 27, 131);
/* oklch */ color: oklch(45.4% 0.183 331.4);
Tailwind
colors: {
  custom: {
    50: '#b166a7',
    500: '#8b1b83',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b83;
$custom-light: #b166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b83",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 304.286,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45373,
    "c": 0.1835,
    "h": 331.4
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#8B1B83
secondary
#45BC4E
accent
#EA4A3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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