#8E4BA7#8E4BA7

#8E4BA7 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.2% C 0.153 H 316.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8E4BA7
RGBrgb(142, 75, 167)
HSLhsl(284, 38%, 47%)
HSVhsv(284, 55%, 65%)
CMYKcmyk(15%, 55.1%, 0%, 34.5%)
CIE-LABlab(43.62, 43.60, -38.13)
CIE-LCHlch(43.62, 57.92, 318.83°)
OKLaboklab(53.23% 0.1102 -0.1063)
OKLCHoklch(53.23% 0.153 316)
XYZxyz(20.6454, 13.5736, 38.0842)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BA7 #64A74B
analogous
#604BA7 #8E4BA7 #A74B92
triadic
#8E4BA7 #A78E4B #4BA78E
tetradic
#8E4BA7 #A7604B #64A74B #4B92A7
square
#8E4BA7 #A7604B #64A74B #4B92A7
split-complementary
#8E4BA7 #92A74B #4BA760
monochromatic
#462553 #6A387D #8E4BA7 #AA70BF #C39BD2

Accessibility & contrast

On white

5.65
#8E4BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8E4BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BA7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BA7#FFFFFF#000000##FFFFFF
##8E4BA71.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#4C69A5
Tritanopia (blue-blind)
#8D5A72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e4ba7;
/* rgb */ color: rgb(142, 75, 167);
/* oklch */ color: oklch(53.2% 0.153 316.0);
Tailwind
colors: {
  custom: {
    50: '#b180c1',
    500: '#8e4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ba7;
$custom-light: #b180c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ba7",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 283.696,
    "s": 38.017,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.15316,
    "h": 316
  },
  "luminance": 0.13573
}

Semantic roles & 50–950 ramp

primary
#8E4BA7
secondary
#9CBE8F
accent
#CE5A79
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8E4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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