#8B39C5#8B39C5

#8B39C5 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.209 H 307.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8B39C5
RGBrgb(139, 57, 197)
HSLhsl(275, 55%, 50%)
HSVhsv(275, 71%, 77%)
CMYKcmyk(29.4%, 71.1%, 0%, 22.7%)
CIE-LABlab(41.92, 58.22, -58.50)
CIE-LCHlch(41.92, 82.53, 314.86°)
OKLaboklab(52.51% 0.1268 -0.166)
OKLCHoklch(52.51% 0.209 307.4)
XYZxyz(22.1865, 12.4467, 54.0462)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39C5 #73C539
analogous
#4539C5 #8B39C5 #C539B9
triadic
#8B39C5 #C58B39 #39C58B
tetradic
#8B39C5 #C54539 #73C539 #39B9C5
square
#8B39C5 #C54539 #73C539 #39B9C5
split-complementary
#8B39C5 #B9C539 #39C545
monochromatic
#481E66 #6A2B96 #8B39C5 #A768D3 #C397E1

Accessibility & contrast

On white

6.02
#8B39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8B39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39C5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39C5#FFFFFF#000000##FFFFFF
##8B39C51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0964C2
Tritanopia (blue-blind)
#81597B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b39c5;
/* rgb */ color: rgb(139, 57, 197);
/* oklch */ color: oklch(52.5% 0.209 307.4);
Tailwind
colors: {
  custom: {
    50: '#b276d7',
    500: '#8b39c5',
    950: '#000000',
  },
}
SCSS
$custom: #8b39c5;
$custom-light: #b276d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39c5",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 275.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.20888,
    "h": 307.4
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#8B39C5
secondary
#A7CD8D
accent
#DE4987
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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