#8B2479#8B2479

#8B2479 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.167 H 336.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8B2479
RGBrgb(139, 36, 121)
HSLhsl(310, 59%, 34%)
HSVhsv(310, 74%, 55%)
CMYKcmyk(0%, 74.1%, 12.9%, 45.5%)
CIE-LABlab(34.26, 51.94, -24.87)
CIE-LCHlch(34.26, 57.59, 334.41°)
OKLaboklab(45.53% 0.1522 -0.0678)
OKLCHoklch(45.53% 0.167 336)
XYZxyz(14.7297, 8.1325, 18.8794)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2479 #248B36
analogous
#6A248B #8B2479 #8B2446
triadic
#8B2479 #798B24 #24798B
tetradic
#8B2479 #8B6A24 #248B36 #24468B
square
#8B2479 #8B6A24 #248B36 #24468B
split-complementary
#8B2479 #468B24 #248B6A
monochromatic
#2A0B24 #5A174F #8B2479 #BC31A3 #D356BD

Accessibility & contrast

On white

8.00
#8B2479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B2479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2479
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2479#FFFFFF#000000##FFFFFF
##8B24791.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2479;
/* rgb */ color: rgb(139, 36, 121);
/* oklch */ color: oklch(45.5% 0.167 336.0);
Tailwind
colors: {
  custom: {
    50: '#b069a0',
    500: '#8b2479',
    950: '#000000',
  },
}
SCSS
$custom: #8b2479;
$custom-light: #b069a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2479",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 310.485,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.16663,
    "h": 336
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#8B2479
secondary
#53B765
accent
#E26146
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2479

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

Preview Lab → · Contrast checker → · Palette generator →

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