#8B39B8#8B39B8

#8B39B8 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.6% C 0.196 H 311.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8B39B8
RGBrgb(139, 57, 184)
HSLhsl(279, 53%, 47%)
HSVhsv(279, 69%, 72%)
CMYKcmyk(24.5%, 69%, 0%, 27.8%)
CIE-LABlab(41.02, 55.35, -52.34)
CIE-LCHlch(41.02, 76.18, 316.60°)
OKLaboklab(51.59% 0.1285 -0.1479)
OKLCHoklch(51.59% 0.196 311)
XYZxyz(20.7607, 11.8764, 46.5368)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39B8 #66B839
analogous
#4B39B8 #8B39B8 #B839A6
triadic
#8B39B8 #B88B39 #39B88B
tetradic
#8B39B8 #B84B39 #66B839 #39A6B8
square
#8B39B8 #B84B39 #66B839 #39A6B8
split-complementary
#8B39B8 #A6B839 #39B84B
monochromatic
#441C5B #682B89 #8B39B8 #A760CE #C18FDC

Accessibility & contrast

On white

6.22
#8B39B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8B39B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39B8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39B8#FFFFFF#000000##FFFFFF
##8B39B81.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#2862B5
Tritanopia (blue-blind)
#855474
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b39b8;
/* rgb */ color: rgb(139, 57, 184);
/* oklch */ color: oklch(51.6% 0.196 311.0);
Tailwind
colors: {
  custom: {
    50: '#b176ce',
    500: '#8b39b8',
    950: '#000000',
  },
}
SCSS
$custom: #8b39b8;
$custom-light: #b176ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39b8",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 278.74,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.1959,
    "h": 311
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#8B39B8
secondary
#9DC786
accent
#DC4C7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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