#8B399B#8B399B

#8B399B is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.7% C 0.167 H 320.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8B399B
RGBrgb(139, 57, 155)
HSLhsl(290, 46%, 42%)
HSVhsv(290, 63%, 61%)
CMYKcmyk(10.3%, 63.2%, 0%, 39.2%)
CIE-LABlab(39.21, 49.29, -37.97)
CIE-LCHlch(39.21, 62.22, 322.39°)
OKLaboklab(49.71% 0.1297 -0.1058)
OKLCHoklch(49.71% 0.167 320.8)
XYZxyz(18.0263, 10.7826, 32.1357)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B399B #499B39
analogous
#5A399B #8B399B #9B397A
triadic
#8B399B #9B8B39 #399B8B
tetradic
#8B399B #9B5A39 #499B39 #397A9B
square
#8B399B #9B5A39 #499B39 #397A9B
split-complementary
#8B399B #7A9B39 #399B5A
monochromatic
#3B1842 #63296E #8B399B #AD52BF #C37FD0

Accessibility & contrast

On white

6.65
#8B399B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8B399B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B399B
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B399B#FFFFFF#000000##FFFFFF
##8B399B1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21579E
Deuteranopia (green-blind)
#435F99
Tritanopia (blue-blind)
#8C4965
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b399b;
/* rgb */ color: rgb(139, 57, 155);
/* oklch */ color: oklch(49.7% 0.167 320.8);
Tailwind
colors: {
  custom: {
    50: '#b075b9',
    500: '#8b399b',
    950: '#000000',
  },
}
SCSS
$custom: #8b399b;
$custom-light: #b075b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b399b",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 290.204,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49709,
    "c": 0.16736,
    "h": 320.8
  },
  "luminance": 0.10782
}

Semantic roles & 50–950 ramp

primary
#8B399B
secondary
#81B977
accent
#D65267
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8B399B

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

Preview Lab → · Contrast checker → · Palette generator →

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