#8B336E#8B336E

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

Color values

HEX#8B336E
RGBrgb(139, 51, 110)
HSLhsl(320, 46%, 37%)
HSVhsv(320, 63%, 55%)
CMYKcmyk(0%, 63.3%, 20.9%, 45.5%)
CIE-LABlab(35.95, 44.13, -15.33)
CIE-LCHlch(35.95, 46.71, 340.84°)
OKLaboklab(46.6% 0.1319 -0.0409)
OKLCHoklch(46.6% 0.138 342.8)
XYZxyz(14.6462, 8.9837, 15.7115)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B336E #338B50
analogous
#7C338B #8B336E #8B3342
triadic
#8B336E #6E8B33 #336E8B
tetradic
#8B336E #8B7C33 #338B50 #33428B
square
#8B336E #8B7C33 #338B50 #33428B
split-complementary
#8B336E #428B33 #338B7C
monochromatic
#311227 #5E234B #8B336E #B84391 #CA6EAC

Accessibility & contrast

On white

7.51
#8B336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8B336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B336E
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B336E#FFFFFF#000000##FFFFFF
##8B336E1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B70
Deuteranopia (green-blind)
#545A6C
Tritanopia (blue-blind)
#93334C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b336e;
/* rgb */ color: rgb(139, 51, 110);
/* oklch */ color: oklch(46.6% 0.138 342.8);
Tailwind
colors: {
  custom: {
    50: '#b07097',
    500: '#8b336e',
    950: '#000000',
  },
}
SCSS
$custom: #8b336e;
$custom-light: #b07097;
$custom-dark: #000000;
JSON
{
  "hex": "#8b336e",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 319.773,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46598,
    "c": 0.13811,
    "h": 342.8
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#8B336E
secondary
#68B280
accent
#D67D52
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8B336E

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

Preview Lab → · Contrast checker → · Palette generator →

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