#8E39CF#8E39CF

#8E39CF is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.220 H 306.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8E39CF
RGBrgb(142, 57, 207)
HSLhsl(274, 61%, 52%)
HSVhsv(274, 72%, 81%)
CMYKcmyk(31.4%, 72.5%, 0%, 18.8%)
CIE-LABlab(43.04, 61.03, -62.46)
CIE-LCHlch(43.04, 87.32, 314.34°)
OKLaboklab(53.62% 0.1292 -0.1775)
OKLCHoklch(53.62% 0.22 306)
XYZxyz(23.8785, 13.1822, 60.3059)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39CF #7ACF39
analogous
#4339CF #8E39CF #CF39C5
triadic
#8E39CF #CF8E39 #39CF8E
tetradic
#8E39CF #CF4339 #7ACF39 #39C5CF
square
#8E39CF #CF4339 #7ACF39 #39C5CF
split-complementary
#8E39CF #C5CF39 #39CF43
monochromatic
#4D1C72 #6E28A3 #8E39CF #AA6ADB #C69CE7

Accessibility & contrast

On white

5.77
#8E39CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8E39CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39CF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39CF#FFFFFF#000000##FFFFFF
##8E39CF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#825D81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e39cf;
/* rgb */ color: rgb(142, 57, 207);
/* oklch */ color: oklch(53.6% 0.220 306.0);
Tailwind
colors: {
  custom: {
    50: '#b477df',
    500: '#8e39cf',
    950: '#000000',
  },
}
SCSS
$custom: #8e39cf;
$custom-light: #b477df;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39cf",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 274,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5362,
    "c": 0.21955,
    "h": 306
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#8E39CF
secondary
#AED391
accent
#E44489
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E39CF

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

Preview Lab → · Contrast checker → · Palette generator →

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