#8B347D#8B347D

#8B347D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.4% C 0.148 H 334.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8B347D
RGBrgb(139, 52, 125)
HSLhsl(310, 46%, 37%)
HSVhsv(310, 63%, 55%)
CMYKcmyk(0%, 62.6%, 10.1%, 45.5%)
CIE-LABlab(36.79, 46.07, -23.41)
CIE-LCHlch(36.79, 51.67, 333.06°)
OKLaboklab(47.44% 0.1335 -0.0638)
OKLCHoklch(47.44% 0.148 334.5)
XYZxyz(15.5772, 9.4268, 20.3972)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B347D #348B42
analogous
#6D348B #8B347D #8B3452
triadic
#8B347D #7D8B34 #347D8B
tetradic
#8B347D #8B6D34 #348B42 #34528B
square
#8B347D #8B6D34 #348B42 #34528B
split-complementary
#8B347D #528B34 #348B6D
monochromatic
#32132D #5E2355 #8B347D #B845A5 #C970BB

Accessibility & contrast

On white

7.28
#8B347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8B347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B347D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B347D#FFFFFF#000000##FFFFFF
##8B347D1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#4F5B7B
Tritanopia (blue-blind)
#913A53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b347d;
/* rgb */ color: rgb(139, 52, 125);
/* oklch */ color: oklch(47.4% 0.148 334.5);
Tailwind
colors: {
  custom: {
    50: '#af71a3',
    500: '#8b347d',
    950: '#000000',
  },
}
SCSS
$custom: #8b347d;
$custom-light: #af71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b347d",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 309.655,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47435,
    "c": 0.14794,
    "h": 334.5
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#8B347D
secondary
#69B275
accent
#D56853
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B347D

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

Preview Lab → · Contrast checker → · Palette generator →

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