#8B2C8D#8B2C8D

#8B2C8D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.173 H 327.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8B2C8D
RGBrgb(139, 44, 141)
HSLhsl(299, 52%, 36%)
HSVhsv(299, 69%, 55%)
CMYKcmyk(1.4%, 68.8%, 0%, 44.7%)
CIE-LABlab(36.39, 52.27, -33.92)
CIE-LCHlch(36.39, 62.31, 327.02°)
OKLaboklab(47.42% 0.1448 -0.094)
OKLCHoklch(47.42% 0.173 327)
XYZxyz(16.3556, 9.2145, 26.1113)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2C8D #2E8D2C
analogous
#5B2C8D #8B2C8D #8D2C5F
triadic
#8B2C8D #8D8B2C #2C8D8B
tetradic
#8B2C8D #8D5B2C #2E8D2C #2C5F8D
square
#8B2C8D #8D5B2C #2E8D2C #2C5F8D
split-complementary
#8B2C8D #5F8D2C #2C8D5B
monochromatic
#2F0F30 #5D1D5E #8B2C8D #B93BBC #CD65CF

Accessibility & contrast

On white

7.39
#8B2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8B2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2C8D
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2C8D#FFFFFF#000000##FFFFFF
##8B2C8D1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E90
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#8F3A59
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2c8d;
/* rgb */ color: rgb(139, 44, 141);
/* oklch */ color: oklch(47.4% 0.173 327.0);
Tailwind
colors: {
  custom: {
    50: '#b06eaf',
    500: '#8b2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8b2c8d;
$custom-light: #b06eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2c8d",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 298.763,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.17261,
    "h": 327
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#8B2C8D
secondary
#61B560
accent
#DC4C4F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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