#8E3785#8E3785

#8E3785 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.7% C 0.152 H 331.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8E3785
RGBrgb(142, 55, 133)
HSLhsl(306, 44%, 39%)
HSVhsv(306, 61%, 56%)
CMYKcmyk(0%, 61.3%, 6.3%, 44.3%)
CIE-LABlab(38.16, 46.91, -26.19)
CIE-LCHlch(38.16, 53.72, 330.82°)
OKLaboklab(48.66% 0.1341 -0.0717)
OKLCHoklch(48.66% 0.152 331.9)
XYZxyz(16.7551, 10.1778, 23.2678)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3785 #378E40
analogous
#6B378E #8E3785 #8E3759
triadic
#8E3785 #858E37 #37858E
tetradic
#8E3785 #8E6B37 #378E40 #37598E
square
#8E3785 #8E6B37 #378E40 #37598E
split-complementary
#8E3785 #598E37 #378E6B
monochromatic
#361532 #62265C #8E3785 #B949AD #CA76C1

Accessibility & contrast

On white

6.92
#8E3785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8E3785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3785
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3785#FFFFFF#000000##FFFFFF
##8E37851.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335287
Deuteranopia (green-blind)
#4F5E83
Tritanopia (blue-blind)
#943F59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e3785;
/* rgb */ color: rgb(142, 55, 133);
/* oklch */ color: oklch(48.7% 0.152 331.9);
Tailwind
colors: {
  custom: {
    50: '#b273a9',
    500: '#8e3785',
    950: '#000000',
  },
}
SCSS
$custom: #8e3785;
$custom-light: #b273a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3785",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 306.207,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48655,
    "c": 0.15204,
    "h": 331.9
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#8E3785
secondary
#6EB375
accent
#D46154
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E3785

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

Preview Lab → · Contrast checker → · Palette generator →

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