#8B348E#8B348E

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

Color values

HEX#8B348E
RGBrgb(139, 52, 142)
HSLhsl(298, 46%, 38%)
HSVhsv(298, 63%, 56%)
CMYKcmyk(2.1%, 63.4%, 0%, 44.3%)
CIE-LABlab(37.66, 49.07, -32.53)
CIE-LCHlch(37.66, 58.88, 326.46°)
OKLaboklab(48.35% 0.1354 -0.09)
OKLCHoklch(48.35% 0.163 326.4)
XYZxyz(16.7576, 9.8990, 26.6140)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B348E #378E34
analogous
#5E348E #8B348E #8E3464
triadic
#8B348E #8E8B34 #348E8B
tetradic
#8B348E #8E5E34 #378E34 #34648E
square
#8B348E #8E5E34 #378E34 #34648E
split-complementary
#8B348E #648E34 #348E5E
monochromatic
#331334 #5F2461 #8B348E #B744BB #C871CB

Accessibility & contrast

On white

7.05
#8B348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8B348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B348E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B348E#FFFFFF#000000##FFFFFF
##8B348E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#475C8C
Tritanopia (blue-blind)
#8F405C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b348e;
/* rgb */ color: rgb(139, 52, 142);
/* oklch */ color: oklch(48.3% 0.163 326.4);
Tailwind
colors: {
  custom: {
    50: '#b072af',
    500: '#8b348e',
    950: '#000000',
  },
}
SCSS
$custom: #8b348e;
$custom-light: #b072af;
$custom-dark: #000000;
JSON
{
  "hex": "#8b348e",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 298,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48349,
    "c": 0.16254,
    "h": 326.4
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#8B348E
secondary
#6DB36A
accent
#D65256
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B348E

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

Preview Lab → · Contrast checker → · Palette generator →

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