#8E39CC#8E39CC

#8E39CC is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.217 H 306.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8E39CC
RGBrgb(142, 57, 204)
HSLhsl(275, 59%, 51%)
HSVhsv(275, 72%, 80%)
CMYKcmyk(30.4%, 72.1%, 0%, 20%)
CIE-LABlab(42.82, 60.36, -61.08)
CIE-LCHlch(42.82, 85.87, 314.66°)
OKLaboklab(53.4% 0.1297 -0.1735)
OKLCHoklch(53.4% 0.217 306.8)
XYZxyz(23.5152, 13.0369, 58.3926)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39CC #77CC39
analogous
#4439CC #8E39CC #CC39C0
triadic
#8E39CC #CC8E39 #39CC8E
tetradic
#8E39CC #CC4439 #77CC39 #39C0CC
square
#8E39CC #CC4439 #77CC39 #39C0CC
split-complementary
#8E39CC #C0CC39 #39CC44
monochromatic
#4C1C6E #6D299F #8E39CC #AA6AD9 #C69AE5

Accessibility & contrast

On white

5.82
#8E39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8E39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39CC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39CC#FFFFFF#000000##FFFFFF
##8E39CC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#835C7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e39cc;
/* rgb */ color: rgb(142, 57, 204);
/* oklch */ color: oklch(53.4% 0.217 306.8);
Tailwind
colors: {
  custom: {
    50: '#b477dc',
    500: '#8e39cc',
    950: '#000000',
  },
}
SCSS
$custom: #8e39cc;
$custom-light: #b477dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39cc",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 274.694,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.2166,
    "h": 306.8
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#8E39CC
secondary
#ABD190
accent
#E24688
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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