#8B2C99#8B2C99

#8B2C99 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.183 H 322.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8B2C99
RGBrgb(139, 44, 153)
HSLhsl(292, 55%, 39%)
HSVhsv(292, 71%, 60%)
CMYKcmyk(9.2%, 71.2%, 0%, 40%)
CIE-LABlab(37.10, 54.47, -40.12)
CIE-LCHlch(37.10, 67.65, 323.63°)
OKLaboklab(48.15% 0.1447 -0.112)
OKLCHoklch(48.15% 0.183 322.3)
XYZxyz(17.2973, 9.5912, 31.0710)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2C99 #3A992C
analogous
#542C99 #8B2C99 #992C70
triadic
#8B2C99 #998B2C #2C998B
tetradic
#8B2C99 #99542C #3A992C #2C7099
square
#8B2C99 #99542C #3A992C #2C7099
split-complementary
#8B2C99 #70992C #2C9954
monochromatic
#35113A #601E69 #8B2C99 #B53BC7 #C76BD4

Accessibility & contrast

On white

7.20
#8B2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8B2C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2C99
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2C99#FFFFFF#000000##FFFFFF
##8B2C991.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509C
Deuteranopia (green-blind)
#3B5B96
Tritanopia (blue-blind)
#8D3F5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2c99;
/* rgb */ color: rgb(139, 44, 153);
/* oklch */ color: oklch(48.1% 0.183 322.3);
Tailwind
colors: {
  custom: {
    50: '#b06eb7',
    500: '#8b2c99',
    950: '#000000',
  },
}
SCSS
$custom: #8b2c99;
$custom-light: #b06eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2c99",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 292.294,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48148,
    "c": 0.183,
    "h": 322.3
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#8B2C99
secondary
#71BB66
accent
#DF495C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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