#8B2B83#8B2B83

#8B2B83 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.7% C 0.166 H 331.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8B2B83
RGBrgb(139, 43, 131)
HSLhsl(305, 53%, 36%)
HSVhsv(305, 69%, 55%)
CMYKcmyk(0%, 69.1%, 5.8%, 45.5%)
CIE-LABlab(35.71, 50.93, -28.84)
CIE-LCHlch(35.71, 58.53, 330.48°)
OKLaboklab(46.74% 0.1454 -0.0792)
OKLCHoklch(46.74% 0.166 331.4)
XYZxyz(15.6081, 8.8566, 22.3558)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B83 #2B8B33
analogous
#632B8B #8B2B83 #8B2B53
triadic
#8B2B83 #838B2B #2B838B
tetradic
#8B2B83 #8B632B #2B8B33 #2B538B
square
#8B2B83 #8B632B #2B8B33 #2B538B
split-complementary
#8B2B83 #538B2B #2B8B63
monochromatic
#2E0E2B #5C1D57 #8B2B83 #BA39AF #CE62C5

Accessibility & contrast

On white

7.58
#8B2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8B2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B83
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B83#FFFFFF#000000##FFFFFF
##8B2B831.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B86
Deuteranopia (green-blind)
#475981
Tritanopia (blue-blind)
#913553
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2b83;
/* rgb */ color: rgb(139, 43, 131);
/* oklch */ color: oklch(46.7% 0.166 331.4);
Tailwind
colors: {
  custom: {
    50: '#b06da7',
    500: '#8b2b83',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b83;
$custom-light: #b06da7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b83",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 305,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46743,
    "c": 0.1656,
    "h": 331.4
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#8B2B83
secondary
#5DB565
accent
#DC584C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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