#8B347F#8B347F

#8B347F is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.5% C 0.150 H 333.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8B347F
RGBrgb(139, 52, 127)
HSLhsl(308, 46%, 37%)
HSVhsv(308, 63%, 55%)
CMYKcmyk(0%, 62.6%, 8.6%, 45.5%)
CIE-LABlab(36.89, 46.41, -24.51)
CIE-LCHlch(36.89, 52.48, 332.16°)
OKLaboklab(47.54% 0.1338 -0.0669)
OKLCHoklch(47.54% 0.15 333.4)
XYZxyz(15.7063, 9.4784, 21.0768)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B347F #348B40
analogous
#6C348B #8B347F #8B3453
triadic
#8B347F #7F8B34 #347F8B
tetradic
#8B347F #8B6C34 #348B40 #34538B
square
#8B347F #8B6C34 #348B40 #34538B
split-complementary
#8B347F #538B34 #348B6C
monochromatic
#32132E #5E2356 #8B347F #B845A8 #C970BD

Accessibility & contrast

On white

7.25
#8B347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8B347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B347F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B347F#FFFFFF#000000##FFFFFF
##8B347F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F81
Deuteranopia (green-blind)
#4E5B7D
Tritanopia (blue-blind)
#913B54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b347f;
/* rgb */ color: rgb(139, 52, 127);
/* oklch */ color: oklch(47.5% 0.150 333.4);
Tailwind
colors: {
  custom: {
    50: '#af71a4',
    500: '#8b347f',
    950: '#000000',
  },
}
SCSS
$custom: #8b347f;
$custom-light: #af71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b347f",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 308.276,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47537,
    "c": 0.14959,
    "h": 333.4
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#8B347F
secondary
#69B273
accent
#D56553
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B347F

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

Preview Lab → · Contrast checker → · Palette generator →

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