#8E39BF#8E39BF

#8E39BF is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.204 H 310.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8E39BF
RGBrgb(142, 57, 191)
HSLhsl(278, 54%, 49%)
HSVhsv(278, 70%, 75%)
CMYKcmyk(25.7%, 70.2%, 0%, 25.1%)
CIE-LABlab(41.91, 57.50, -55.00)
CIE-LCHlch(41.91, 79.57, 316.27°)
OKLaboklab(52.46% 0.1316 -0.1556)
OKLCHoklch(52.46% 0.204 310.2)
XYZxyz(22.0206, 12.4391, 50.5211)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39BF #6ABF39
analogous
#4B39BF #8E39BF #BF39AD
triadic
#8E39BF #BF8E39 #39BF8E
tetradic
#8E39BF #BF4B39 #6ABF39 #39ADBF
square
#8E39BF #BF4B39 #6ABF39 #39ADBF
split-complementary
#8E39BF #ADBF39 #39BF4B
monochromatic
#481D61 #6B2B90 #8E39BF #A964D1 #C393DF

Accessibility & contrast

On white

6.02
#8E39BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8E39BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39BF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39BF#FFFFFF#000000##FFFFFF
##8E39BF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#875678
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e39bf;
/* rgb */ color: rgb(142, 57, 191);
/* oklch */ color: oklch(52.5% 0.204 310.2);
Tailwind
colors: {
  custom: {
    50: '#b376d3',
    500: '#8e39bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e39bf;
$custom-light: #b376d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39bf",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 278.06,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52459,
    "c": 0.20377,
    "h": 310.2
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#8E39BF
secondary
#A1CA8A
accent
#DD4A80
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8E39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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