#8B2B7F#8B2B7F

#8B2B7F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.162 H 333.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8B2B7F
RGBrgb(139, 43, 127)
HSLhsl(308, 53%, 36%)
HSVhsv(308, 69%, 55%)
CMYKcmyk(0%, 69.1%, 8.6%, 45.5%)
CIE-LABlab(35.50, 50.26, -26.68)
CIE-LCHlch(35.50, 56.90, 332.04°)
OKLaboklab(46.53% 0.1451 -0.073)
OKLCHoklch(46.53% 0.162 333.3)
XYZxyz(15.3422, 8.7503, 20.9555)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B7F #2B8B37
analogous
#672B8B #8B2B7F #8B2B4F
triadic
#8B2B7F #7F8B2B #2B7F8B
tetradic
#8B2B7F #8B672B #2B8B37 #2B4F8B
square
#8B2B7F #8B672B #2B8B37 #2B4F8B
split-complementary
#8B2B7F #4F8B2B #2B8B67
monochromatic
#2E0E2A #5C1D54 #8B2B7F #BA39AA #CE62C1

Accessibility & contrast

On white

7.64
#8B2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8B2B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B7F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B7F#FFFFFF#000000##FFFFFF
##8B2B7F1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B81
Deuteranopia (green-blind)
#49587D
Tritanopia (blue-blind)
#913351
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2b7f;
/* rgb */ color: rgb(139, 43, 127);
/* oklch */ color: oklch(46.5% 0.162 333.3);
Tailwind
colors: {
  custom: {
    50: '#b06da4',
    500: '#8b2b7f',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b7f;
$custom-light: #b06da4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b7f",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 307.5,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46525,
    "c": 0.1624,
    "h": 333.3
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#8B2B7F
secondary
#5DB568
accent
#DC5E4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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