#8B348F#8B348F

#8B348F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.4% C 0.163 H 326.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8B348F
RGBrgb(139, 52, 143)
HSLhsl(297, 47%, 38%)
HSVhsv(297, 64%, 56%)
CMYKcmyk(2.8%, 63.6%, 0%, 43.9%)
CIE-LABlab(37.72, 49.26, -33.06)
CIE-LCHlch(37.72, 59.32, 326.13°)
OKLaboklab(48.41% 0.1354 -0.0915)
OKLCHoklch(48.41% 0.163 326)
XYZxyz(16.8330, 9.9292, 27.0112)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B348F #388F34
analogous
#5D348F #8B348F #8F3465
triadic
#8B348F #8F8B34 #348F8B
tetradic
#8B348F #8F5D34 #388F34 #34658F
square
#8B348F #8F5D34 #388F34 #34658F
split-complementary
#8B348F #658F34 #348F5D
monochromatic
#341335 #5F2462 #8B348F #B645BB #C872CC

Accessibility & contrast

On white

7.03
#8B348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8B348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B348F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B348F#FFFFFF#000000##FFFFFF
##8B348F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#465D8D
Tritanopia (blue-blind)
#8E415D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b348f;
/* rgb */ color: rgb(139, 52, 143);
/* oklch */ color: oklch(48.4% 0.163 326.0);
Tailwind
colors: {
  custom: {
    50: '#b072b0',
    500: '#8b348f',
    950: '#000000',
  },
}
SCSS
$custom: #8b348f;
$custom-light: #b072b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b348f",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 297.363,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48406,
    "c": 0.16344,
    "h": 326
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#8B348F
secondary
#6EB46B
accent
#D65157
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B348F

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

Preview Lab → · Contrast checker → · Palette generator →

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