#8B39CE#8B39CE

#8B39CE is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.218 H 305.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8B39CE
RGBrgb(139, 57, 206)
HSLhsl(273, 60%, 52%)
HSVhsv(273, 72%, 81%)
CMYKcmyk(32.5%, 72.3%, 0%, 19.2%)
CIE-LABlab(42.57, 60.24, -62.66)
CIE-LCHlch(42.57, 86.92, 313.87°)
OKLaboklab(53.18% 0.1253 -0.1782)
OKLCHoklch(53.18% 0.218 305.1)
XYZxyz(23.2487, 12.8716, 59.6402)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39CE #7CCE39
analogous
#4139CE #8B39CE #CE39C7
triadic
#8B39CE #CE8B39 #39CE8B
tetradic
#8B39CE #CE4139 #7CCE39 #39C7CE
square
#8B39CE #CE4139 #7CCE39 #39C7CE
split-complementary
#8B39CE #C7CE39 #39CE41
monochromatic
#4B1C71 #6B28A2 #8B39CE #A86ADA #C49BE6

Accessibility & contrast

On white

5.88
#8B39CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8B39CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39CE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39CE#FFFFFF#000000##FFFFFF
##8B39CE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#7F5D80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b39ce;
/* rgb */ color: rgb(139, 57, 206);
/* oklch */ color: oklch(53.2% 0.218 305.1);
Tailwind
colors: {
  custom: {
    50: '#b277de',
    500: '#8b39ce',
    950: '#000000',
  },
}
SCSS
$custom: #8b39ce;
$custom-light: #b277de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39ce",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 273.02,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53181,
    "c": 0.21786,
    "h": 305.1
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

primary
#8B39CE
secondary
#AED291
accent
#E3448C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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