#8B2B8D#8B2B8D

#8B2B8D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.174 H 327.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8B2B8D
RGBrgb(139, 43, 141)
HSLhsl(299, 53%, 36%)
HSVhsv(299, 70%, 55%)
CMYKcmyk(1.4%, 69.5%, 0%, 44.7%)
CIE-LABlab(36.25, 52.67, -34.14)
CIE-LCHlch(36.25, 62.76, 327.04°)
OKLaboklab(47.32% 0.1459 -0.0946)
OKLCHoklch(47.32% 0.174 327)
XYZxyz(16.3188, 9.1409, 26.0990)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B8D #2D8D2B
analogous
#5A2B8D #8B2B8D #8D2B5E
triadic
#8B2B8D #8D8B2B #2B8D8B
tetradic
#8B2B8D #8D5A2B #2D8D2B #2B5E8D
square
#8B2B8D #8D5A2B #2D8D2B #2B5E8D
split-complementary
#8B2B8D #5E8D2B #2B8D5A
monochromatic
#2F0E2F #5D1D5E #8B2B8D #B939BC #CD63CF

Accessibility & contrast

On white

7.43
#8B2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8B2B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B8D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B8D#FFFFFF#000000##FFFFFF
##8B2B8D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D90
Deuteranopia (green-blind)
#425A8A
Tritanopia (blue-blind)
#8F3959
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2b8d;
/* rgb */ color: rgb(139, 43, 141);
/* oklch */ color: oklch(47.3% 0.174 327.0);
Tailwind
colors: {
  custom: {
    50: '#b06daf',
    500: '#8b2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b8d;
$custom-light: #b06daf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b8d",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 298.776,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.17388,
    "h": 327
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#8B2B8D
secondary
#60B65E
accent
#DD4B4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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