#8B336C#8B336C

#8B336C is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.137 H 344.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8B336C
RGBrgb(139, 51, 108)
HSLhsl(321, 46%, 37%)
HSVhsv(321, 63%, 55%)
CMYKcmyk(0%, 63.3%, 22.3%, 45.5%)
CIE-LABlab(35.87, 43.82, -14.19)
CIE-LCHlch(35.87, 46.07, 342.05°)
OKLaboklab(46.51% 0.1314 -0.0378)
OKLCHoklch(46.51% 0.137 344)
XYZxyz(14.5385, 8.9407, 15.1445)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B336C #338B52
analogous
#7E338B #8B336C #8B3340
triadic
#8B336C #6C8B33 #336C8B
tetradic
#8B336C #8B7E33 #338B52 #33408B
square
#8B336C #8B7E33 #338B52 #33408B
split-complementary
#8B336C #408B33 #338B7E
monochromatic
#311226 #5E2349 #8B336C #B8438F #CA6EAA

Accessibility & contrast

On white

7.53
#8B336C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8B336C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B336C
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B336C#FFFFFF#000000##FFFFFF
##8B336C1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6E
Deuteranopia (green-blind)
#545A6A
Tritanopia (blue-blind)
#94334B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b336c;
/* rgb */ color: rgb(139, 51, 108);
/* oklch */ color: oklch(46.5% 0.137 344.0);
Tailwind
colors: {
  custom: {
    50: '#b07096',
    500: '#8b336c',
    950: '#000000',
  },
}
SCSS
$custom: #8b336c;
$custom-light: #b07096;
$custom-dark: #000000;
JSON
{
  "hex": "#8b336c",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 321.136,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46509,
    "c": 0.13675,
    "h": 344
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#8B336C
secondary
#68B282
accent
#D68052
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8B336C

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

Preview Lab → · Contrast checker → · Palette generator →

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