#8B1983#8B1983

#8B1983 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.185 H 331.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8B1983
RGBrgb(139, 25, 131)
HSLhsl(304, 70%, 32%)
HSVhsv(304, 82%, 55%)
CMYKcmyk(0%, 82%, 5.8%, 45.5%)
CIE-LABlab(33.61, 56.90, -32.14)
CIE-LCHlch(33.61, 65.35, 330.54°)
OKLaboklab(45.24% 0.1627 -0.0887)
OKLCHoklch(45.24% 0.185 331.4)
XYZxyz(15.0918, 7.8242, 22.1837)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1983 #198B21
analogous
#5A198B #8B1983 #8B194A
triadic
#8B1983 #838B19 #19838B
tetradic
#8B1983 #8B5A19 #198B21 #194A8B
square
#8B1983 #8B5A19 #198B21 #194A8B
split-complementary
#8B1983 #4A8B19 #198B5A
monochromatic
#230621 #571052 #8B1983 #BF22B4 #DD41D2

Accessibility & contrast

On white

8.19
#8B1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1983
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1983#FFFFFF#000000##FFFFFF
##8B19831.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4586
Deuteranopia (green-blind)
#405480
Tritanopia (blue-blind)
#91294E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1983;
/* rgb */ color: rgb(139, 25, 131);
/* oklch */ color: oklch(45.2% 0.185 331.4);
Tailwind
colors: {
  custom: {
    50: '#b166a7',
    500: '#8b1983',
    950: '#000000',
  },
}
SCSS
$custom: #8b1983;
$custom-light: #b166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1983",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 304.211,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4524,
    "c": 0.18528,
    "h": 331.4
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#8B1983
secondary
#42BE4B
accent
#EC483B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1983

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

Preview Lab → · Contrast checker → · Palette generator →

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