#8B2D99#8B2D99

#8B2D99 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.182 H 322.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8B2D99
RGBrgb(139, 45, 153)
HSLhsl(292, 55%, 39%)
HSVhsv(292, 71%, 60%)
CMYKcmyk(9.2%, 70.6%, 0%, 40%)
CIE-LABlab(37.24, 54.08, -39.90)
CIE-LCHlch(37.24, 67.21, 323.58°)
OKLaboklab(48.25% 0.1437 -0.1114)
OKLCHoklch(48.25% 0.182 322.2)
XYZxyz(17.3350, 9.6666, 31.0836)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D99 #3B992D
analogous
#552D99 #8B2D99 #992D71
triadic
#8B2D99 #998B2D #2D998B
tetradic
#8B2D99 #99552D #3B992D #2D7199
square
#8B2D99 #99552D #3B992D #2D7199
split-complementary
#8B2D99 #71992D #2D9955
monochromatic
#35113A #601F6A #8B2D99 #B43DC6 #C76CD4

Accessibility & contrast

On white

7.16
#8B2D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8B2D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D99
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D99#FFFFFF#000000##FFFFFF
##8B2D991.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06519C
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#8D4060
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2d99;
/* rgb */ color: rgb(139, 45, 153);
/* oklch */ color: oklch(48.2% 0.182 322.2);
Tailwind
colors: {
  custom: {
    50: '#b06fb7',
    500: '#8b2d99',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d99;
$custom-light: #b06fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d99",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 292.222,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.18177,
    "h": 322.2
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#8B2D99
secondary
#72BB67
accent
#DE4A5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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