#8E39C5#8E39C5

#8E39C5 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.210 H 308.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8E39C5
RGBrgb(142, 57, 197)
HSLhsl(276, 55%, 50%)
HSVhsv(276, 71%, 77%)
CMYKcmyk(27.9%, 71.1%, 0%, 22.7%)
CIE-LABlab(42.32, 58.81, -57.83)
CIE-LCHlch(42.32, 82.48, 315.48°)
OKLaboklab(52.89% 0.1308 -0.1639)
OKLCHoklch(52.89% 0.21 308.6)
XYZxyz(22.6944, 12.7086, 54.0700)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39C5 #70C539
analogous
#4839C5 #8E39C5 #C539B6
triadic
#8E39C5 #C58E39 #39C58E
tetradic
#8E39C5 #C54839 #70C539 #39B6C5
square
#8E39C5 #C54839 #70C539 #39B6C5
split-complementary
#8E39C5 #B6C539 #39C548
monochromatic
#4A1E66 #6C2B96 #8E39C5 #A968D3 #C497E1

Accessibility & contrast

On white

5.93
#8E39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8E39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39C5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39C5#FFFFFF#000000##FFFFFF
##8E39C51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#1565C2
Tritanopia (blue-blind)
#86597B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e39c5;
/* rgb */ color: rgb(142, 57, 197);
/* oklch */ color: oklch(52.9% 0.210 308.6);
Tailwind
colors: {
  custom: {
    50: '#b477d7',
    500: '#8e39c5',
    950: '#000000',
  },
}
SCSS
$custom: #8e39c5;
$custom-light: #b477d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39c5",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 276.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52886,
    "c": 0.20969,
    "h": 308.6
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#8E39C5
secondary
#A6CD8D
accent
#DE4984
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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