#8B337A#8B337A

#8B337A is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.2% C 0.147 H 336.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8B337A
RGBrgb(139, 51, 122)
HSLhsl(312, 46%, 37%)
HSVhsv(312, 63%, 55%)
CMYKcmyk(0%, 63.3%, 12.2%, 45.5%)
CIE-LABlab(36.49, 46.02, -22.03)
CIE-LCHlch(36.49, 51.02, 334.42°)
OKLaboklab(47.16% 0.1343 -0.0598)
OKLCHoklch(47.16% 0.147 336)
XYZxyz(15.3443, 9.2630, 19.3884)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B337A #338B44
analogous
#70338B #8B337A #8B334E
triadic
#8B337A #7A8B33 #337A8B
tetradic
#8B337A #8B7033 #338B44 #334E8B
square
#8B337A #8B7033 #338B44 #334E8B
split-complementary
#8B337A #4E8B33 #338B70
monochromatic
#31122B #5E2353 #8B337A #B843A1 #CA6EB8

Accessibility & contrast

On white

7.36
#8B337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8B337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B337A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B337A#FFFFFF#000000##FFFFFF
##8B337A1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7C
Deuteranopia (green-blind)
#4F5B78
Tritanopia (blue-blind)
#923851
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b337a;
/* rgb */ color: rgb(139, 51, 122);
/* oklch */ color: oklch(47.2% 0.147 336.0);
Tailwind
colors: {
  custom: {
    50: '#b071a0',
    500: '#8b337a',
    950: '#000000',
  },
}
SCSS
$custom: #8b337a;
$custom-light: #b071a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b337a",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 311.591,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47163,
    "c": 0.14705,
    "h": 336
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#8B337A
secondary
#68B276
accent
#D66B52
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8B337A

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

Preview Lab → · Contrast checker → · Palette generator →

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