#8B39DC#8B39DC

#8B39DC is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.3% C 0.232 H 301.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8B39DC
RGBrgb(139, 57, 220)
HSLhsl(270, 70%, 54%)
HSVhsv(270, 74%, 86%)
CMYKcmyk(36.8%, 74.1%, 0%, 13.7%)
CIE-LABlab(43.63, 63.45, -68.98)
CIE-LCHlch(43.63, 93.73, 312.61°)
OKLaboklab(54.26% 0.1225 -0.1968)
OKLCHoklch(54.26% 0.232 301.9)
XYZxyz(25.0257, 13.5824, 68.9995)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39DC #8ADC39
analogous
#3A39DC #8B39DC #DC39DC
triadic
#8B39DC #DC8B39 #39DC8B
tetradic
#8B39DC #DC3A39 #8ADC39 #39DCDC
square
#8B39DC #DC3A39 #8ADC39 #39DCDC
split-complementary
#8B39DC #DCDC39 #39DC3A
monochromatic
#4E1783 #6C20B7 #8B39DC #A96DE5 #C8A1EE

Accessibility & contrast

On white

5.65
#8B39DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8B39DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39DC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39DC#FFFFFF#000000##FFFFFF
##8B39DC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#7A6388
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b39dc;
/* rgb */ color: rgb(139, 57, 220);
/* oklch */ color: oklch(54.3% 0.232 301.9);
Tailwind
colors: {
  custom: {
    50: '#b377e8',
    500: '#8b39dc',
    950: '#000000',
  },
}
SCSS
$custom: #8b39dc;
$custom-light: #b377e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39dc",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 270.184,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.23182,
    "h": 301.9
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#8B39DC
secondary
#B8DB96
accent
#ED3B93
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B39DC

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

Preview Lab → · Contrast checker → · Palette generator →

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