#8B339F#8B339F

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

Color values

HEX#8B339F
RGBrgb(139, 51, 159)
HSLhsl(289, 51%, 41%)
HSVhsv(289, 68%, 62%)
CMYKcmyk(12.6%, 67.9%, 0%, 37.6%)
CIE-LABlab(38.48, 52.76, -41.54)
CIE-LCHlch(38.48, 67.15, 321.79°)
OKLaboklab(49.26% 0.1368 -0.1162)
OKLCHoklch(49.26% 0.18 319.7)
XYZxyz(18.0885, 10.3607, 33.8412)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B339F #479F33
analogous
#55339F #8B339F #9F337D
triadic
#8B339F #9F8B33 #339F8B
tetradic
#8B339F #9F5533 #479F33 #337D9F
square
#8B339F #9F5533 #479F33 #337D9F
split-complementary
#8B339F #7D9F33 #339F55
monochromatic
#3A1542 #622471 #8B339F #AE4AC5 #C379D4

Accessibility & contrast

On white

6.84
#8B339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8B339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B339F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B339F#FFFFFF#000000##FFFFFF
##8B339F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A55A2
Deuteranopia (green-blind)
#3B5E9C
Tritanopia (blue-blind)
#8B4665
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b339f;
/* rgb */ color: rgb(139, 51, 159);
/* oklch */ color: oklch(49.3% 0.180 319.7);
Tailwind
colors: {
  custom: {
    50: '#b072bc',
    500: '#8b339f',
    950: '#000000',
  },
}
SCSS
$custom: #8b339f;
$custom-light: #b072bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b339f",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 288.889,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49258,
    "c": 0.17951,
    "h": 319.7
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#8B339F
secondary
#7FBC71
accent
#DB4D67
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B339F

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

Preview Lab → · Contrast checker → · Palette generator →

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