#8E39BC#8E39BC

#8E39BC is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.201 H 311.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8E39BC
RGBrgb(142, 57, 188)
HSLhsl(279, 53%, 48%)
HSVhsv(279, 70%, 74%)
CMYKcmyk(24.5%, 69.7%, 0%, 26.3%)
CIE-LABlab(41.70, 56.85, -53.57)
CIE-LCHlch(41.70, 78.11, 316.70°)
OKLaboklab(52.25% 0.1319 -0.1514)
OKLCHoklch(52.25% 0.201 311.1)
XYZxyz(21.6938, 12.3084, 48.8002)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39BC #67BC39
analogous
#4C39BC #8E39BC #BC39A8
triadic
#8E39BC #BC8E39 #39BC8E
tetradic
#8E39BC #BC4C39 #67BC39 #39A8BC
square
#8E39BC #BC4C39 #67BC39 #39A8BC
split-complementary
#8E39BC #A8BC39 #39BC4C
monochromatic
#471D5E #6B2B8D #8E39BC #A963D0 #C392DE

Accessibility & contrast

On white

6.07
#8E39BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8E39BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39BC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39BC#FFFFFF#000000##FFFFFF
##8E39BC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#885576
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e39bc;
/* rgb */ color: rgb(142, 57, 188);
/* oklch */ color: oklch(52.2% 0.201 311.1);
Tailwind
colors: {
  custom: {
    50: '#b376d1',
    500: '#8e39bc',
    950: '#000000',
  },
}
SCSS
$custom: #8e39bc;
$custom-light: #b376d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39bc",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 278.931,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.20082,
    "h": 311.1
  },
  "luminance": 0.12308
}

Semantic roles & 50–950 ramp

primary
#8E39BC
secondary
#9FC988
accent
#DD4B7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8E39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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