#8E39D6#8E39D6

#8E39D6 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.1% C 0.226 H 304.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8E39D6
RGBrgb(142, 57, 214)
HSLhsl(272, 66%, 53%)
HSVhsv(272, 73%, 84%)
CMYKcmyk(33.6%, 73.4%, 0%, 16.1%)
CIE-LABlab(43.55, 62.60, -65.65)
CIE-LCHlch(43.55, 90.71, 313.64°)
OKLaboklab(54.15% 0.1279 -0.1869)
OKLCHoklch(54.15% 0.226 304.4)
XYZxyz(24.7533, 13.5322, 64.9132)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39D6 #81D639
analogous
#3F39D6 #8E39D6 #D639CF
triadic
#8E39D6 #D68E39 #39D68E
tetradic
#8E39D6 #D63F39 #81D639 #39CFD6
square
#8E39D6 #D63F39 #81D639 #39CFD6
split-complementary
#8E39D6 #CFD639 #39D63F
monochromatic
#4E197B #6F24AE #8E39D6 #AB6CE0 #C89EEB

Accessibility & contrast

On white

5.67
#8E39D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8E39D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39D6
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39D6#FFFFFF#000000##FFFFFF
##8E39D61.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#806085
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e39d6;
/* rgb */ color: rgb(142, 57, 214);
/* oklch */ color: oklch(54.1% 0.226 304.4);
Tailwind
colors: {
  custom: {
    50: '#b577e4',
    500: '#8e39d6',
    950: '#000000',
  },
}
SCSS
$custom: #8e39d6;
$custom-light: #b577e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39d6",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 214
  },
  "hsl": {
    "h": 272.484,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.22645,
    "h": 304.4
  },
  "luminance": 0.13532
}

Semantic roles & 50–950 ramp

primary
#8E39D6
secondary
#B3D794
accent
#E93F8D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8E39D6

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

Preview Lab → · Contrast checker → · Palette generator →

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