#8B336D#8B336D

#8B336D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.6% C 0.137 H 343.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8B336D
RGBrgb(139, 51, 109)
HSLhsl(320, 46%, 37%)
HSVhsv(320, 63%, 55%)
CMYKcmyk(0%, 63.3%, 21.6%, 45.5%)
CIE-LABlab(35.91, 43.97, -14.76)
CIE-LCHlch(35.91, 46.39, 341.44°)
OKLaboklab(46.55% 0.1317 -0.0394)
OKLCHoklch(46.55% 0.137 343.4)
XYZxyz(14.5920, 8.9621, 15.4264)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B336D #338B51
analogous
#7D338B #8B336D #8B3341
triadic
#8B336D #6D8B33 #336D8B
tetradic
#8B336D #8B7D33 #338B51 #33418B
square
#8B336D #8B7D33 #338B51 #33418B
split-complementary
#8B336D #418B33 #338B7D
monochromatic
#311227 #5E234A #8B336D #B84390 #CA6EAB

Accessibility & contrast

On white

7.52
#8B336D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B336D
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B336D#FFFFFF#000000##FFFFFF
##8B336D1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b336d;
/* rgb */ color: rgb(139, 51, 109);
/* oklch */ color: oklch(46.6% 0.137 343.4);
Tailwind
colors: {
  custom: {
    50: '#b07097',
    500: '#8b336d',
    950: '#000000',
  },
}
SCSS
$custom: #8b336d;
$custom-light: #b07097;
$custom-dark: #000000;
JSON
{
  "hex": "#8b336d",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 320.455,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46553,
    "c": 0.13743,
    "h": 343.4
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#8B336D
secondary
#68B281
accent
#D67F52
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8B336D

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

Preview Lab → · Contrast checker → · Palette generator →

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