#8E39BA#8E39BA

#8E39BA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.1% C 0.199 H 311.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8E39BA
RGBrgb(142, 57, 186)
HSLhsl(280, 53%, 48%)
HSVhsv(280, 69%, 73%)
CMYKcmyk(23.7%, 69.4%, 0%, 27.1%)
CIE-LABlab(41.57, 56.42, -52.61)
CIE-LCHlch(41.57, 77.14, 317.00°)
OKLaboklab(52.11% 0.1322 -0.1486)
OKLCHoklch(52.11% 0.199 311.7)
XYZxyz(21.4797, 12.2228, 47.6726)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39BA #65BA39
analogous
#4E39BA #8E39BA #BA39A5
triadic
#8E39BA #BA8E39 #39BA8E
tetradic
#8E39BA #BA4E39 #65BA39 #39A5BA
square
#8E39BA #BA4E39 #65BA39 #39A5BA
split-complementary
#8E39BA #A5BA39 #39BA4E
monochromatic
#461C5C #6A2B8B #8E39BA #A961CF #C390DD

Accessibility & contrast

On white

6.10
#8E39BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8E39BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39BA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39BA#FFFFFF#000000##FFFFFF
##8E39BA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2964B7
Tritanopia (blue-blind)
#895475
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e39ba;
/* rgb */ color: rgb(142, 57, 186);
/* oklch */ color: oklch(52.1% 0.199 311.7);
Tailwind
colors: {
  custom: {
    50: '#b376cf',
    500: '#8e39ba',
    950: '#000000',
  },
}
SCSS
$custom: #8e39ba;
$custom-light: #b376cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39ba",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 279.535,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.19886,
    "h": 311.7
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#8E39BA
secondary
#9DC887
accent
#DC4B7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8E39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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