#8B339C#8B339C

#8B339C is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.177 H 320.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8B339C
RGBrgb(139, 51, 156)
HSLhsl(290, 51%, 41%)
HSVhsv(290, 67%, 61%)
CMYKcmyk(10.9%, 67.3%, 0%, 38.8%)
CIE-LABlab(38.30, 52.18, -40.02)
CIE-LCHlch(38.30, 65.76, 322.51°)
OKLaboklab(49.07% 0.1369 -0.1118)
OKLCHoklch(49.07% 0.177 320.8)
XYZxyz(17.8313, 10.2578, 32.4868)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B339C #449C33
analogous
#56339C #8B339C #9C3378
triadic
#8B339C #9C8B33 #339C8B
tetradic
#8B339C #9C5633 #449C33 #33789C
square
#8B339C #9C5633 #449C33 #33789C
split-complementary
#8B339C #789C33 #339C56
monochromatic
#391540 #62246E #8B339C #B049C3 #C477D3

Accessibility & contrast

On white

6.88
#8B339C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8B339C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B339C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B339C#FFFFFF#000000##FFFFFF
##8B339C1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12549F
Deuteranopia (green-blind)
#3E5D99
Tritanopia (blue-blind)
#8C4563
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b339c;
/* rgb */ color: rgb(139, 51, 156);
/* oklch */ color: oklch(49.1% 0.177 320.8);
Tailwind
colors: {
  custom: {
    50: '#b072ba',
    500: '#8b339c',
    950: '#000000',
  },
}
SCSS
$custom: #8b339c;
$custom-light: #b072ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8b339c",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 290.286,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4907,
    "c": 0.17672,
    "h": 320.8
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#8B339C
secondary
#7CBB70
accent
#DA4E64
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B339C

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

Preview Lab → · Contrast checker → · Palette generator →

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