#8E39C3#8E39C3

#8E39C3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.208 H 309.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8E39C3
RGBrgb(142, 57, 195)
HSLhsl(277, 55%, 49%)
HSVhsv(277, 71%, 76%)
CMYKcmyk(27.2%, 70.8%, 0%, 23.5%)
CIE-LABlab(42.18, 58.37, -56.89)
CIE-LCHlch(42.18, 81.50, 315.74°)
OKLaboklab(52.74% 0.1311 -0.1611)
OKLCHoklch(52.74% 0.208 309.1)
XYZxyz(22.4668, 12.6176, 52.8711)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39C3 #6EC339
analogous
#4939C3 #8E39C3 #C339B3
triadic
#8E39C3 #C38E39 #39C38E
tetradic
#8E39C3 #C34939 #6EC339 #39B3C3
square
#8E39C3 #C34939 #6EC339 #39B3C3
split-complementary
#8E39C3 #B3C339 #39C349
monochromatic
#491D64 #6C2B94 #8E39C3 #A967D2 #C496E0

Accessibility & contrast

On white

5.96
#8E39C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8E39C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39C3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39C3#FFFFFF#000000##FFFFFF
##8E39C31.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#1A65C0
Tritanopia (blue-blind)
#86587A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e39c3;
/* rgb */ color: rgb(142, 57, 195);
/* oklch */ color: oklch(52.7% 0.208 309.1);
Tailwind
colors: {
  custom: {
    50: '#b477d6',
    500: '#8e39c3',
    950: '#000000',
  },
}
SCSS
$custom: #8e39c3;
$custom-light: #b477d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39c3",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 276.957,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.20771,
    "h": 309.1
  },
  "luminance": 0.12617
}

Semantic roles & 50–950 ramp

primary
#8E39C3
secondary
#A5CC8C
accent
#DE4A83
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E39C3

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

Preview Lab → · Contrast checker → · Palette generator →

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