#8B39C4#8B39C4

#8B39C4 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.208 H 307.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8B39C4
RGBrgb(139, 57, 196)
HSLhsl(275, 55%, 50%)
HSVhsv(275, 71%, 77%)
CMYKcmyk(29.1%, 70.9%, 0%, 23.1%)
CIE-LABlab(41.85, 57.99, -58.03)
CIE-LCHlch(41.85, 82.04, 314.98°)
OKLaboklab(52.44% 0.127 -0.1646)
OKLCHoklch(52.44% 0.208 307.6)
XYZxyz(22.0723, 12.4011, 53.4447)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39C4 #72C439
analogous
#4639C4 #8B39C4 #C439B8
triadic
#8B39C4 #C48B39 #39C48B
tetradic
#8B39C4 #C44639 #72C439 #39B8C4
square
#8B39C4 #C44639 #72C439 #39B8C4
split-complementary
#8B39C4 #B8C439 #39C446
monochromatic
#481D65 #692B95 #8B39C4 #A767D3 #C297E1

Accessibility & contrast

On white

6.03
#8B39C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8B39C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39C4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39C4#FFFFFF#000000##FFFFFF
##8B39C41.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0E63C1
Tritanopia (blue-blind)
#82597B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b39c4;
/* rgb */ color: rgb(139, 57, 196);
/* oklch */ color: oklch(52.4% 0.208 307.6);
Tailwind
colors: {
  custom: {
    50: '#b276d7',
    500: '#8b39c4',
    950: '#000000',
  },
}
SCSS
$custom: #8b39c4;
$custom-light: #b276d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39c4",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 275.396,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52441,
    "c": 0.20787,
    "h": 307.6
  },
  "luminance": 0.12401
}

Semantic roles & 50–950 ramp

primary
#8B39C4
secondary
#A7CC8D
accent
#DE4A87
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B39C4

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

Preview Lab → · Contrast checker → · Palette generator →

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