#8B1783#8B1783

#8B1783 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.187 H 331.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8B1783
RGBrgb(139, 23, 131)
HSLhsl(304, 72%, 32%)
HSVhsv(304, 83%, 55%)
CMYKcmyk(0%, 83.5%, 5.8%, 45.5%)
CIE-LABlab(33.44, 57.41, -32.42)
CIE-LCHlch(33.44, 65.93, 330.54°)
OKLaboklab(45.12% 0.1642 -0.0895)
OKLCHoklch(45.12% 0.187 331.4)
XYZxyz(15.0506, 7.7417, 22.1700)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1783 #178B1F
analogous
#59178B #8B1783 #8B1749
triadic
#8B1783 #838B17 #17838B
tetradic
#8B1783 #8B5917 #178B1F #17498B
square
#8B1783 #8B5917 #178B1F #17498B
split-complementary
#8B1783 #498B17 #178B59
monochromatic
#220620 #560E52 #8B1783 #C020B4 #DF3DD4

Accessibility & contrast

On white

8.24
#8B1783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8B1783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1783
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1783#FFFFFF#000000##FFFFFF
##8B17831.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064586
Deuteranopia (green-blind)
#3F5480
Tritanopia (blue-blind)
#91284E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1783;
/* rgb */ color: rgb(139, 23, 131);
/* oklch */ color: oklch(45.1% 0.187 331.4);
Tailwind
colors: {
  custom: {
    50: '#b165a7',
    500: '#8b1783',
    950: '#000000',
  },
}
SCSS
$custom: #8b1783;
$custom-light: #b165a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1783",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 304.138,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45116,
    "c": 0.18695,
    "h": 331.4
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#8B1783
secondary
#3FBF48
accent
#EE4639
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B1783

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

Preview Lab → · Contrast checker → · Palette generator →

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