#8B2279#8B2279

#8B2279 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.169 H 335.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8B2279
RGBrgb(139, 34, 121)
HSLhsl(310, 61%, 34%)
HSVhsv(310, 76%, 55%)
CMYKcmyk(0%, 75.5%, 12.9%, 45.5%)
CIE-LABlab(34.01, 52.63, -25.26)
CIE-LCHlch(34.01, 58.38, 334.37°)
OKLaboklab(45.35% 0.1543 -0.0689)
OKLCHoklch(45.35% 0.169 335.9)
XYZxyz(14.6709, 8.0148, 18.8598)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2279 #228B34
analogous
#69228B #8B2279 #8B2245
triadic
#8B2279 #798B22 #22798B
tetradic
#8B2279 #8B6922 #228B34 #22458B
square
#8B2279 #8B6922 #228B34 #22458B
split-complementary
#8B2279 #458B22 #228B69
monochromatic
#290A23 #5A164E #8B2279 #BC2EA4 #D553BE

Accessibility & contrast

On white

8.07
#8B2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8B2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2279
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2279#FFFFFF#000000##FFFFFF
##8B22791.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#485677
Tritanopia (blue-blind)
#922A4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b2279;
/* rgb */ color: rgb(139, 34, 121);
/* oklch */ color: oklch(45.4% 0.169 335.9);
Tailwind
colors: {
  custom: {
    50: '#b068a0',
    500: '#8b2279',
    950: '#000000',
  },
}
SCSS
$custom: #8b2279;
$custom-light: #b068a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2279",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 310.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.16895,
    "h": 335.9
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#8B2279
secondary
#50B862
accent
#E45F44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2279

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

Preview Lab → · Contrast checker → · Palette generator →

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