#8E39BB#8E39BB

#8E39BB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.2% C 0.200 H 311.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8E39BB
RGBrgb(142, 57, 187)
HSLhsl(279, 53%, 48%)
HSVhsv(279, 70%, 73%)
CMYKcmyk(24.1%, 69.5%, 0%, 26.7%)
CIE-LABlab(41.63, 56.63, -53.09)
CIE-LCHlch(41.63, 77.63, 316.85°)
OKLaboklab(52.18% 0.1321 -0.15)
OKLCHoklch(52.18% 0.2 311.4)
XYZxyz(21.5864, 12.2654, 48.2344)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39BB #66BB39
analogous
#4D39BB #8E39BB #BB39A7
triadic
#8E39BB #BB8E39 #39BB8E
tetradic
#8E39BB #BB4D39 #66BB39 #39A7BB
square
#8E39BB #BB4D39 #66BB39 #39A7BB
split-complementary
#8E39BB #A7BB39 #39BB4D
monochromatic
#471C5D #6A2B8C #8E39BB #A962CF #C391DD

Accessibility & contrast

On white

6.08
#8E39BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8E39BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39BB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39BB#FFFFFF#000000##FFFFFF
##8E39BB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2864B8
Tritanopia (blue-blind)
#885576
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e39bb;
/* rgb */ color: rgb(142, 57, 187);
/* oklch */ color: oklch(52.2% 0.200 311.4);
Tailwind
colors: {
  custom: {
    50: '#b376d0',
    500: '#8e39bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e39bb;
$custom-light: #b376d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39bb",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 279.231,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.19984,
    "h": 311.4
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#8E39BB
secondary
#9EC887
accent
#DD4B7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8E39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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