#8B39D4#8B39D4

#8B39D4 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.224 H 303.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8B39D4
RGBrgb(139, 57, 212)
HSLhsl(272, 64%, 53%)
HSVhsv(272, 73%, 83%)
CMYKcmyk(34.4%, 73.1%, 0%, 16.9%)
CIE-LABlab(43.02, 61.61, -65.39)
CIE-LCHlch(43.02, 89.84, 313.30°)
OKLaboklab(53.64% 0.1242 -0.1862)
OKLCHoklch(53.64% 0.224 303.7)
XYZxyz(23.9915, 13.1687, 63.5525)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B39D4 #82D439
analogous
#3E39D4 #8B39D4 #D439CF
triadic
#8B39D4 #D48B39 #39D48B
tetradic
#8B39D4 #D43E39 #82D439 #39CFD4
square
#8B39D4 #D43E39 #82D439 #39CFD4
split-complementary
#8B39D4 #CFD439 #39D43E
monochromatic
#4C1A78 #6C25AB #8B39D4 #A86BDF #C69EEA

Accessibility & contrast

On white

5.78
#8B39D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8B39D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B39D4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B39D4#FFFFFF#000000##FFFFFF
##8B39D41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#7C5F84
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b39d4;
/* rgb */ color: rgb(139, 57, 212);
/* oklch */ color: oklch(53.6% 0.224 303.7);
Tailwind
colors: {
  custom: {
    50: '#b377e2',
    500: '#8b39d4',
    950: '#000000',
  },
}
SCSS
$custom: #8b39d4;
$custom-light: #b377e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b39d4",
  "rgb": {
    "r": 139,
    "g": 57,
    "b": 212
  },
  "hsl": {
    "h": 271.742,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.22385,
    "h": 303.7
  },
  "luminance": 0.13169
}

Semantic roles & 50–950 ramp

primary
#8B39D4
secondary
#B2D693
accent
#E7408F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120915
muted
#817B84

Preview Lab

Preview with #8B39D4

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

Preview Lab → · Contrast checker → · Palette generator →

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