#8B2783#8B2783

#8B2783 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.171 H 331.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8B2783
RGBrgb(139, 39, 131)
HSLhsl(305, 56%, 35%)
HSVhsv(305, 72%, 55%)
CMYKcmyk(0%, 71.9%, 5.8%, 45.5%)
CIE-LABlab(35.16, 52.46, -29.70)
CIE-LCHlch(35.16, 60.29, 330.49°)
OKLaboklab(46.35% 0.1499 -0.0817)
OKLCHoklch(46.35% 0.171 331.4)
XYZxyz(15.4697, 8.5799, 22.3097)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2783 #278B2F
analogous
#61278B #8B2783 #8B2751
triadic
#8B2783 #838B27 #27838B
tetradic
#8B2783 #8B6127 #278B2F #27518B
square
#8B2783 #8B6127 #278B2F #27518B
split-complementary
#8B2783 #518B27 #278B61
monochromatic
#2B0C29 #5B1A56 #8B2783 #BB34B0 #D15BC8

Accessibility & contrast

On white

7.73
#8B2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8B2783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2783
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2783#FFFFFF#000000##FFFFFF
##8B27831.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A86
Deuteranopia (green-blind)
#465881
Tritanopia (blue-blind)
#913252
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2783;
/* rgb */ color: rgb(139, 39, 131);
/* oklch */ color: oklch(46.4% 0.171 331.4);
Tailwind
colors: {
  custom: {
    50: '#b06ba7',
    500: '#8b2783',
    950: '#000000',
  },
}
SCSS
$custom: #8b2783;
$custom-light: #b06ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2783",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 304.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4635,
    "c": 0.17067,
    "h": 331.4
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#8B2783
secondary
#58B65F
accent
#DF5448
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2783

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

Preview Lab → · Contrast checker → · Palette generator →

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