#8E4B92#8E4B92

#8E4B92 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.1% C 0.131 H 325.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8E4B92
RGBrgb(142, 75, 146)
HSLhsl(297, 32%, 43%)
HSVhsv(297, 49%, 57%)
CMYKcmyk(2.7%, 48.6%, 0%, 42.7%)
CIE-LABlab(42.55, 39.26, -27.25)
CIE-LCHlch(42.55, 47.79, 325.23°)
OKLaboklab(52.09% 0.1076 -0.0749)
OKLCHoklch(52.09% 0.131 325.2)
XYZxyz(18.8593, 12.8592, 28.6772)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4B92 #4F924B
analogous
#6A4B92 #8E4B92 #924B72
triadic
#8E4B92 #928E4B #4B928E
tetradic
#8E4B92 #926A4B #4F924B #4B7292
square
#8E4B92 #926A4B #4F924B #4B7292
split-complementary
#8E4B92 #72924B #4B926A
monochromatic
#3F2141 #67366A #8E4B92 #AE69B2 #C391C6

Accessibility & contrast

On white

5.88
#8E4B92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8E4B92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4B92
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4B92#FFFFFF#000000##FFFFFF
##8E4B921.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F94
Deuteranopia (green-blind)
#576790
Tritanopia (blue-blind)
#915368
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e4b92;
/* rgb */ color: rgb(142, 75, 146);
/* oklch */ color: oklch(52.1% 0.131 325.2);
Tailwind
colors: {
  custom: {
    50: '#b180b2',
    500: '#8e4b92',
    950: '#000000',
  },
}
SCSS
$custom: #8e4b92;
$custom-light: #b180b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4b92",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 146
  },
  "hsl": {
    "h": 296.62,
    "s": 32.127,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.13106,
    "h": 325.2
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#8E4B92
secondary
#89B386
accent
#C86065
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8E4B92

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

Preview Lab → · Contrast checker → · Palette generator →

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