#8B2B8A#8B2B8A

#8B2B8A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.171 H 328.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8B2B8A
RGBrgb(139, 43, 138)
HSLhsl(301, 53%, 36%)
HSVhsv(301, 69%, 55%)
CMYKcmyk(0%, 69.1%, 0.7%, 45.5%)
CIE-LABlab(36.09, 52.14, -32.57)
CIE-LCHlch(36.09, 61.47, 328.01°)
OKLaboklab(47.14% 0.1458 -0.09)
OKLCHoklch(47.14% 0.171 328.3)
XYZxyz(16.0986, 9.0528, 24.9393)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B8A #2B8B2C
analogous
#5C2B8B #8B2B8A #8B2B5A
triadic
#8B2B8A #8A8B2B #2B8A8B
tetradic
#8B2B8A #8B5C2B #2B8B2C #2B5A8B
square
#8B2B8A #8B5C2B #2B8B2C #2B5A8B
split-complementary
#8B2B8A #5A8B2B #2B8B5C
monochromatic
#2E0E2D #5C1D5C #8B2B8A #BA39B8 #CE62CD

Accessibility & contrast

On white

7.47
#8B2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8B2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B8A
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B8A#FFFFFF#000000##FFFFFF
##8B2B8A1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#445987
Tritanopia (blue-blind)
#903857
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2b8a;
/* rgb */ color: rgb(139, 43, 138);
/* oklch */ color: oklch(47.1% 0.171 328.3);
Tailwind
colors: {
  custom: {
    50: '#b06dac',
    500: '#8b2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b8a;
$custom-light: #b06dac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b8a",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 300.625,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47139,
    "c": 0.17136,
    "h": 328.3
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#8B2B8A
secondary
#5DB55E
accent
#DC4D4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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