#8B39B2#8B39B2

#8B39B2 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.190 H 312.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8B39B2
RGBrgb(139, 57, 178)
HSLhsl(281, 51%, 46%)
HSVhsv(281, 68%, 70%)
CMYKcmyk(21.9%, 68%, 0%, 30.2%)
CIE-LABlab(40.62, 54.05, -49.44)
CIE-LCHlch(40.62, 73.26, 317.55°)
OKLaboklab(51.18% 0.129 -0.1394)
OKLCHoklch(51.18% 0.19 312.8)
XYZxyz(20.1450, 11.6301, 43.2945)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39B2 #60B239
analogous
#4E39B2 #8B39B2 #B2399C
triadic
#8B39B2 #B28B39 #39B28B
tetradic
#8B39B2 #B24E39 #60B239 #399CB2
square
#8B39B2 #B24E39 #60B239 #399CB2
split-complementary
#8B39B2 #9CB239 #39B24E
monochromatic
#431B55 #672A84 #8B39B2 #A85DCB #C18BDA

Accessibility & contrast

On white

6.31
#8B39B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8B39B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39B2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39B2#FFFFFF#000000##FFFFFF
##8B39B21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#2F62AF
Tritanopia (blue-blind)
#875271
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b39b2;
/* rgb */ color: rgb(139, 57, 178);
/* oklch */ color: oklch(51.2% 0.190 312.8);
Tailwind
colors: {
  custom: {
    50: '#b176ca',
    500: '#8b39b2',
    950: '#000000',
  },
}
SCSS
$custom: #8b39b2;
$custom-light: #b176ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39b2",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 280.661,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.18993,
    "h": 312.8
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#8B39B2
secondary
#98C482
accent
#DB4D7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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