#8E39BD#8E39BD

#8E39BD is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.202 H 310.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8E39BD
RGBrgb(142, 57, 189)
HSLhsl(279, 54%, 48%)
HSVhsv(279, 70%, 74%)
CMYKcmyk(24.9%, 69.8%, 0%, 25.9%)
CIE-LABlab(41.77, 57.06, -54.05)
CIE-LCHlch(41.77, 78.60, 316.56°)
OKLaboklab(52.32% 0.1318 -0.1528)
OKLCHoklch(52.32% 0.202 310.8)
XYZxyz(21.8020, 12.3517, 49.3699)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39BD #68BD39
analogous
#4C39BD #8E39BD #BD39AA
triadic
#8E39BD #BD8E39 #39BD8E
tetradic
#8E39BD #BD4C39 #68BD39 #39AABD
square
#8E39BD #BD4C39 #68BD39 #39AABD
split-complementary
#8E39BD #AABD39 #39BD4C
monochromatic
#471D5F #6B2B8E #8E39BD #A963D0 #C392DE

Accessibility & contrast

On white

6.05
#8E39BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8E39BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39BD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39BD#FFFFFF#000000##FFFFFF
##8E39BD1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#885677
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e39bd;
/* rgb */ color: rgb(142, 57, 189);
/* oklch */ color: oklch(52.3% 0.202 310.8);
Tailwind
colors: {
  custom: {
    50: '#b376d2',
    500: '#8e39bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e39bd;
$custom-light: #b376d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39bd",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 278.636,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52319,
    "c": 0.20181,
    "h": 310.8
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#8E39BD
secondary
#A0C989
accent
#DD4B7F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8E39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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