#8B39D2#8B39D2

#8B39D2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.222 H 304.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8B39D2
RGBrgb(139, 57, 210)
HSLhsl(272, 63%, 52%)
HSVhsv(272, 73%, 82%)
CMYKcmyk(33.8%, 72.9%, 0%, 17.6%)
CIE-LABlab(42.87, 61.15, -64.48)
CIE-LCHlch(42.87, 88.87, 313.48°)
OKLaboklab(53.49% 0.1246 -0.1836)
OKLCHoklch(53.49% 0.222 304.2)
XYZxyz(23.7408, 13.0684, 62.2320)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39D2 #80D239
analogous
#3F39D2 #8B39D2 #D239CC
triadic
#8B39D2 #D28B39 #39D28B
tetradic
#8B39D2 #D23F39 #80D239 #39CCD2
square
#8B39D2 #D23F39 #80D239 #39CCD2
split-complementary
#8B39D2 #CCD239 #39D23F
monochromatic
#4C1B76 #6C26A8 #8B39D2 #A86BDD #C59DE9

Accessibility & contrast

On white

5.81
#8B39D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8B39D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39D2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39D2#FFFFFF#000000##FFFFFF
##8B39D21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#7D5E83
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b39d2;
/* rgb */ color: rgb(139, 57, 210);
/* oklch */ color: oklch(53.5% 0.222 304.2);
Tailwind
colors: {
  custom: {
    50: '#b377e1',
    500: '#8b39d2',
    950: '#000000',
  },
}
SCSS
$custom: #8b39d2;
$custom-light: #b377e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39d2",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 272.157,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53485,
    "c": 0.22185,
    "h": 304.2
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#8B39D2
secondary
#B1D592
accent
#E6428E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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