#8B2579#8B2579

#8B2579 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.165 H 336.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8B2579
RGBrgb(139, 37, 121)
HSLhsl(311, 58%, 35%)
HSVhsv(311, 73%, 55%)
CMYKcmyk(0%, 73.4%, 12.9%, 45.5%)
CIE-LABlab(34.38, 51.58, -24.68)
CIE-LCHlch(34.38, 57.18, 334.43°)
OKLaboklab(45.62% 0.1512 -0.0672)
OKLCHoklch(45.62% 0.165 336)
XYZxyz(14.7604, 8.1939, 18.8897)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2579 #258B37
analogous
#6A258B #8B2579 #8B2546
triadic
#8B2579 #798B25 #25798B
tetradic
#8B2579 #8B6A25 #258B37 #25468B
square
#8B2579 #8B6A25 #258B37 #25468B
split-complementary
#8B2579 #468B25 #258B6A
monochromatic
#2A0B25 #5B184F #8B2579 #BB32A3 #D358BD

Accessibility & contrast

On white

7.96
#8B2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8B2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2579
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2579#FFFFFF#000000##FFFFFF
##8B25791.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477B
Deuteranopia (green-blind)
#495677
Tritanopia (blue-blind)
#922C4C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2579;
/* rgb */ color: rgb(139, 37, 121);
/* oklch */ color: oklch(45.6% 0.165 336.0);
Tailwind
colors: {
  custom: {
    50: '#b06aa0',
    500: '#8b2579',
    950: '#000000',
  },
}
SCSS
$custom: #8b2579;
$custom-light: #b06aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2579",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 310.588,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.16544,
    "h": 336
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#8B2579
secondary
#55B766
accent
#E16247
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2579

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

Preview Lab → · Contrast checker → · Palette generator →

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