#8B337B#8B337B

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

Color values

HEX#8B337B
RGBrgb(139, 51, 123)
HSLhsl(311, 46%, 37%)
HSVhsv(311, 63%, 55%)
CMYKcmyk(0%, 63.3%, 11.5%, 45.5%)
CIE-LABlab(36.53, 46.19, -22.58)
CIE-LCHlch(36.53, 51.41, 333.95°)
OKLaboklab(47.21% 0.1345 -0.0614)
OKLCHoklch(47.21% 0.148 335.5)
XYZxyz(15.4066, 9.2879, 19.7164)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B337B #338B43
analogous
#6F338B #8B337B #8B334F
triadic
#8B337B #7B8B33 #337B8B
tetradic
#8B337B #8B6F33 #338B43 #334F8B
square
#8B337B #8B6F33 #338B43 #334F8B
split-complementary
#8B337B #4F8B33 #338B6F
monochromatic
#31122C #5E2353 #8B337B #B843A3 #CA6EB9

Accessibility & contrast

On white

7.35
#8B337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8B337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B337B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B337B#FFFFFF#000000##FFFFFF
##8B337B1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7D
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#923852
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b337b;
/* rgb */ color: rgb(139, 51, 123);
/* oklch */ color: oklch(47.2% 0.148 335.5);
Tailwind
colors: {
  custom: {
    50: '#b071a1',
    500: '#8b337b',
    950: '#000000',
  },
}
SCSS
$custom: #8b337b;
$custom-light: #b071a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b337b",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 310.909,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47213,
    "c": 0.14785,
    "h": 335.5
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#8B337B
secondary
#68B275
accent
#D66A52
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8B337B

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

Preview Lab → · Contrast checker → · Palette generator →

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