#8E39D9#8E39D9

#8E39D9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.4% C 0.229 H 303.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8E39D9
RGBrgb(142, 57, 217)
HSLhsl(272, 68%, 54%)
HSVhsv(272, 74%, 85%)
CMYKcmyk(34.6%, 73.7%, 0%, 14.9%)
CIE-LABlab(43.78, 63.28, -67.00)
CIE-LCHlch(43.78, 92.16, 313.37°)
OKLaboklab(54.38% 0.1273 -0.1909)
OKLCHoklch(54.38% 0.229 303.7)
XYZxyz(25.1399, 13.6868, 66.9496)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39D9 #84D939
analogous
#3E39D9 #8E39D9 #D939D4
triadic
#8E39D9 #D98E39 #39D98E
tetradic
#8E39D9 #D93E39 #84D939 #39D4D9
square
#8E39D9 #D93E39 #84D939 #39D4D9
split-complementary
#8E39D9 #D4D939 #39D93E
monochromatic
#4F187F #6F22B3 #8E39D9 #AB6CE3 #C9A0ED

Accessibility & contrast

On white

5.62
#8E39D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8E39D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39D9
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39D9#FFFFFF#000000##FFFFFF
##8E39D91.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#7F6187
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e39d9;
/* rgb */ color: rgb(142, 57, 217);
/* oklch */ color: oklch(54.4% 0.229 303.7);
Tailwind
colors: {
  custom: {
    50: '#b577e6',
    500: '#8e39d9',
    950: '#000000',
  },
}
SCSS
$custom: #8e39d9;
$custom-light: #b577e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39d9",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 271.875,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.22942,
    "h": 303.7
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#8E39D9
secondary
#B5D995
accent
#EB3D8E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8E39D9

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

Preview Lab → · Contrast checker → · Palette generator →

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