#8B2D8D#8B2D8D

#8B2D8D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.171 H 327.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8B2D8D
RGBrgb(139, 45, 141)
HSLhsl(299, 52%, 36%)
HSVhsv(299, 68%, 55%)
CMYKcmyk(1.4%, 68.1%, 0%, 44.7%)
CIE-LABlab(36.54, 51.87, -33.70)
CIE-LCHlch(36.54, 61.85, 326.99°)
OKLaboklab(47.52% 0.1437 -0.0933)
OKLCHoklch(47.52% 0.171 327)
XYZxyz(16.3933, 9.2899, 26.1238)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D8D #2F8D2D
analogous
#5B2D8D #8B2D8D #8D2D5F
triadic
#8B2D8D #8D8B2D #2D8D8B
tetradic
#8B2D8D #8D5B2D #2F8D2D #2D5F8D
square
#8B2D8D #8D5B2D #2F8D2D #2D5F8D
split-complementary
#8B2D8D #5F8D2D #2D8D5B
monochromatic
#300F30 #5D1E5F #8B2D8D #B93CBB #CC66CE

Accessibility & contrast

On white

7.35
#8B2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8B2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D8D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D8D#FFFFFF#000000##FFFFFF
##8B2D8D1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2d8d;
/* rgb */ color: rgb(139, 45, 141);
/* oklch */ color: oklch(47.5% 0.171 327.0);
Tailwind
colors: {
  custom: {
    50: '#b06eaf',
    500: '#8b2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d8d;
$custom-light: #b06eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d8d",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 298.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47518,
    "c": 0.17131,
    "h": 327
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#8B2D8D
secondary
#63B561
accent
#DB4D50
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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