#8B39B7#8B39B7

#8B39B7 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.5% C 0.195 H 311.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8B39B7
RGBrgb(139, 57, 183)
HSLhsl(279, 53%, 47%)
HSVhsv(279, 69%, 72%)
CMYKcmyk(24%, 68.9%, 0%, 28.2%)
CIE-LABlab(40.95, 55.13, -51.86)
CIE-LCHlch(40.95, 75.69, 316.75°)
OKLaboklab(51.52% 0.1286 -0.1465)
OKLCHoklch(51.52% 0.195 311.3)
XYZxyz(20.6562, 11.8346, 45.9867)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39B7 #65B739
analogous
#4C39B7 #8B39B7 #B739A4
triadic
#8B39B7 #B78B39 #39B78B
tetradic
#8B39B7 #B74C39 #65B739 #39A4B7
square
#8B39B7 #B74C39 #65B739 #39A4B7
split-complementary
#8B39B7 #A4B739 #39B74C
monochromatic
#441C5A #682A88 #8B39B7 #A760CD #C18EDC

Accessibility & contrast

On white

6.24
#8B39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8B39B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39B7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39B7#FFFFFF#000000##FFFFFF
##8B39B71.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2962B4
Tritanopia (blue-blind)
#855474
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b39b7;
/* rgb */ color: rgb(139, 57, 183);
/* oklch */ color: oklch(51.5% 0.195 311.3);
Tailwind
colors: {
  custom: {
    50: '#b176cd',
    500: '#8b39b7',
    950: '#000000',
  },
}
SCSS
$custom: #8b39b7;
$custom-light: #b176cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39b7",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 279.048,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.1949,
    "h": 311.3
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

primary
#8B39B7
secondary
#9CC785
accent
#DC4C7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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