#8B349E#8B349E

#8B349E is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.177 H 320.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8B349E
RGBrgb(139, 52, 158)
HSLhsl(289, 50%, 41%)
HSVhsv(289, 67%, 62%)
CMYKcmyk(12%, 67.1%, 0%, 38%)
CIE-LABlab(38.58, 52.14, -40.79)
CIE-LCHlch(38.58, 66.19, 321.96°)
OKLaboklab(49.31% 0.1357 -0.114)
OKLCHoklch(49.31% 0.177 320)
XYZxyz(18.0462, 10.4144, 33.4007)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B349E #479E34
analogous
#56349E #8B349E #9E347C
triadic
#8B349E #9E8B34 #349E8B
tetradic
#8B349E #9E5634 #479E34 #347C9E
square
#8B349E #9E5634 #479E34 #347C9E
split-complementary
#8B349E #7C9E34 #349E56
monochromatic
#3A1642 #622570 #8B349E #AE4BC4 #C379D3

Accessibility & contrast

On white

6.81
#8B349E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8B349E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B349E
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B349E#FFFFFF#000000##FFFFFF
##8B349E1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A1
Deuteranopia (green-blind)
#3D5E9B
Tritanopia (blue-blind)
#8C4765
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b349e;
/* rgb */ color: rgb(139, 52, 158);
/* oklch */ color: oklch(49.3% 0.177 320.0);
Tailwind
colors: {
  custom: {
    50: '#b072bb',
    500: '#8b349e',
    950: '#000000',
  },
}
SCSS
$custom: #8b349e;
$custom-light: #b072bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b349e",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 289.245,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.17724,
    "h": 320
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#8B349E
secondary
#7FBC72
accent
#DA4E67
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B349E

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

Preview Lab → · Contrast checker → · Palette generator →

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