#8B39C6#8B39C6

#8B39C6 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.210 H 307.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8B39C6
RGBrgb(139, 57, 198)
HSLhsl(275, 55%, 50%)
HSVhsv(275, 71%, 78%)
CMYKcmyk(29.8%, 71.2%, 0%, 22.4%)
CIE-LABlab(41.99, 58.44, -58.96)
CIE-LCHlch(41.99, 83.02, 314.74°)
OKLaboklab(52.59% 0.1267 -0.1673)
OKLCHoklch(52.59% 0.21 307.1)
XYZxyz(22.3015, 12.4927, 54.6516)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39C6 #74C639
analogous
#4539C6 #8B39C6 #C639BA
triadic
#8B39C6 #C68B39 #39C68B
tetradic
#8B39C6 #C64539 #74C639 #39BAC6
square
#8B39C6 #C64539 #74C639 #39BAC6
split-complementary
#8B39C6 #BAC639 #39C645
monochromatic
#481E67 #6A2B96 #8B39C6 #A769D4 #C398E1

Accessibility & contrast

On white

6.00
#8B39C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8B39C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39C6
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39C6#FFFFFF#000000##FFFFFF
##8B39C61.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0464C3
Tritanopia (blue-blind)
#815A7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b39c6;
/* rgb */ color: rgb(139, 57, 198);
/* oklch */ color: oklch(52.6% 0.210 307.1);
Tailwind
colors: {
  custom: {
    50: '#b276d8',
    500: '#8b39c6',
    950: '#000000',
  },
}
SCSS
$custom: #8b39c6;
$custom-light: #b276d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39c6",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 198
  },
  "hsl": {
    "h": 274.894,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.20988,
    "h": 307.1
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#8B39C6
secondary
#A8CD8E
accent
#DF4988
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8B39C6

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

Preview Lab → · Contrast checker → · Palette generator →

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