#8B39CC#8B39CC

#8B39CC is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.216 H 305.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8B39CC
RGBrgb(139, 57, 204)
HSLhsl(273, 59%, 51%)
HSVhsv(273, 72%, 80%)
CMYKcmyk(31.9%, 72.1%, 0%, 20%)
CIE-LABlab(42.42, 59.79, -61.74)
CIE-LCHlch(42.42, 85.95, 314.08°)
OKLaboklab(53.03% 0.1257 -0.1755)
OKLCHoklch(53.03% 0.216 305.6)
XYZxyz(23.0073, 12.7750, 58.3688)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39CC #7ACC39
analogous
#4139CC #8B39CC #CC39C4
triadic
#8B39CC #CC8B39 #39CC8B
tetradic
#8B39CC #CC4139 #7ACC39 #39C4CC
square
#8B39CC #CC4139 #7ACC39 #39C4CC
split-complementary
#8B39CC #C4CC39 #39CC41
monochromatic
#4A1C6E #6B299F #8B39CC #A86AD9 #C49AE5

Accessibility & contrast

On white

5.91
#8B39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8B39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39CC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39CC#FFFFFF#000000##FFFFFF
##8B39CC1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#7F5C7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b39cc;
/* rgb */ color: rgb(139, 57, 204);
/* oklch */ color: oklch(53.0% 0.216 305.6);
Tailwind
colors: {
  custom: {
    50: '#b277dc',
    500: '#8b39cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b39cc;
$custom-light: #b277dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39cc",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 273.469,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53031,
    "c": 0.21586,
    "h": 305.6
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#8B39CC
secondary
#ADD190
accent
#E2468B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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