#8B2B8B#8B2B8B

#8B2B8B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.172 H 327.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8B2B8B
RGBrgb(139, 43, 139)
HSLhsl(300, 53%, 36%)
HSVhsv(300, 69%, 55%)
CMYKcmyk(0%, 69.1%, 0%, 45.5%)
CIE-LABlab(36.14, 52.31, -33.09)
CIE-LCHlch(36.14, 61.90, 327.68°)
OKLaboklab(47.2% 0.1459 -0.0916)
OKLCHoklch(47.2% 0.172 327.9)
XYZxyz(16.1713, 9.0819, 25.3223)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B8B #2B8B2B
analogous
#5B2B8B #8B2B8B #8B2B5B
triadic
#8B2B8B #8B8B2B #2B8B8B
tetradic
#8B2B8B #8B5B2B #2B8B2B #2B5B8B
square
#8B2B8B #8B5B2B #2B8B2B #2B5B8B
split-complementary
#8B2B8B #5B8B2B #2B8B5B
monochromatic
#2E0E2E #5C1D5C #8B2B8B #BA39BA #CE62CE

Accessibility & contrast

On white

7.46
#8B2B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8B2B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B8B
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B8B#FFFFFF#000000##FFFFFF
##8B2B8B1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4D8E
Deuteranopia (green-blind)
#435988
Tritanopia (blue-blind)
#8F3957
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2b8b;
/* rgb */ color: rgb(139, 43, 139);
/* oklch */ color: oklch(47.2% 0.172 327.9);
Tailwind
colors: {
  custom: {
    50: '#b06dad',
    500: '#8b2b8b',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b8b;
$custom-light: #b06dad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b8b",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 300,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47197,
    "c": 0.1722,
    "h": 327.9
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#8B2B8B
secondary
#5DB55D
accent
#DC4C4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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