#8B337D#8B337D

#8B337D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.3% C 0.149 H 334.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8B337D
RGBrgb(139, 51, 125)
HSLhsl(310, 46%, 37%)
HSVhsv(310, 63%, 55%)
CMYKcmyk(0%, 63.3%, 10.1%, 45.5%)
CIE-LABlab(36.63, 46.52, -23.67)
CIE-LCHlch(36.63, 52.20, 333.03°)
OKLaboklab(47.31% 0.1348 -0.0645)
OKLCHoklch(47.31% 0.149 334.4)
XYZxyz(15.5331, 9.3385, 20.3825)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B337D #338B41
analogous
#6D338B #8B337D #8B3351
triadic
#8B337D #7D8B33 #337D8B
tetradic
#8B337D #8B6D33 #338B41 #33518B
square
#8B337D #8B6D33 #338B41 #33518B
split-complementary
#8B337D #518B33 #338B6D
monochromatic
#31122C #5E2355 #8B337D #B843A5 #CA6EBB

Accessibility & contrast

On white

7.32
#8B337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8B337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B337D
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B337D#FFFFFF#000000##FFFFFF
##8B337D1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#913953
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b337d;
/* rgb */ color: rgb(139, 51, 125);
/* oklch */ color: oklch(47.3% 0.149 334.4);
Tailwind
colors: {
  custom: {
    50: '#b071a3',
    500: '#8b337d',
    950: '#000000',
  },
}
SCSS
$custom: #8b337d;
$custom-light: #b071a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b337d",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 309.545,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47314,
    "c": 0.14945,
    "h": 334.4
  },
  "luminance": 0.09337
}

Semantic roles & 50–950 ramp

primary
#8B337D
secondary
#68B274
accent
#D66752
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B337D

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

Preview Lab → · Contrast checker → · Palette generator →

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