#8E39DA#8E39DA

#8E39DA is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.5% C 0.230 H 303.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8E39DA
RGBrgb(142, 57, 218)
HSLhsl(272, 69%, 54%)
HSVhsv(272, 74%, 85%)
CMYKcmyk(34.9%, 73.9%, 0%, 14.5%)
CIE-LABlab(43.86, 63.51, -67.45)
CIE-LCHlch(43.86, 92.64, 313.28°)
OKLaboklab(54.46% 0.1271 -0.1922)
OKLCHoklch(54.46% 0.23 303.5)
XYZxyz(25.2704, 13.7390, 67.6367)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39DA #85DA39
analogous
#3E39DA #8E39DA #DA39D6
triadic
#8E39DA #DA8E39 #39DA8E
tetradic
#8E39DA #DA3E39 #85DA39 #39D6DA
square
#8E39DA #DA3E39 #85DA39 #39D6DA
split-complementary
#8E39DA #D6DA39 #39DA3E
monochromatic
#4F1881 #6F22B4 #8E39DA #AB6DE4 #C9A0ED

Accessibility & contrast

On white

5.60
#8E39DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8E39DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39DA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39DA#FFFFFF#000000##FFFFFF
##8E39DA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#7F6187
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e39da;
/* rgb */ color: rgb(142, 57, 218);
/* oklch */ color: oklch(54.5% 0.230 303.5);
Tailwind
colors: {
  custom: {
    50: '#b578e6',
    500: '#8e39da',
    950: '#000000',
  },
}
SCSS
$custom: #8e39da;
$custom-light: #b578e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39da",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 271.677,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54455,
    "c": 0.2304,
    "h": 303.5
  },
  "luminance": 0.13739
}

Semantic roles & 50–950 ramp

primary
#8E39DA
secondary
#B5DA95
accent
#EB3C8F
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8E39DA

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

Preview Lab → · Contrast checker → · Palette generator →

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