#8B3170#8B3170

#8B3170 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.4% C 0.143 H 341.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8B3170
RGBrgb(139, 49, 112)
HSLhsl(318, 48%, 37%)
HSVhsv(318, 65%, 55%)
CMYKcmyk(0%, 64.7%, 19.4%, 45.5%)
CIE-LABlab(35.71, 45.33, -16.96)
CIE-LCHlch(35.71, 48.40, 339.48°)
OKLaboklab(46.45% 0.1351 -0.0455)
OKLCHoklch(46.45% 0.143 341.4)
XYZxyz(14.6708, 8.8568, 16.2630)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3170 #318B4C
analogous
#79318B #8B3170 #8B3143
triadic
#8B3170 #708B31 #31708B
tetradic
#8B3170 #8B7931 #318B4C #31438B
square
#8B3170 #8B7931 #318B4C #31438B
split-complementary
#8B3170 #438B31 #318B79
monochromatic
#311127 #5E214C #8B3170 #B84194 #CB6BAE

Accessibility & contrast

On white

7.58
#8B3170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8B3170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B3170
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3170#FFFFFF#000000##FFFFFF
##8B31701.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B72
Deuteranopia (green-blind)
#52596E
Tritanopia (blue-blind)
#93324C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b3170;
/* rgb */ color: rgb(139, 49, 112);
/* oklch */ color: oklch(46.4% 0.143 341.4);
Tailwind
colors: {
  custom: {
    50: '#b06f99',
    500: '#8b3170',
    950: '#000000',
  },
}
SCSS
$custom: #8b3170;
$custom-light: #b06f99;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3170",
  "rgb": {
    "r": 139,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 318,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46445,
    "c": 0.14257,
    "h": 341.4
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#8B3170
secondary
#65B27C
accent
#D77950
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8B3170

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

Preview Lab → · Contrast checker → · Palette generator →

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