#8D4E93#8D4E93

#8D4E93 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.5% C 0.126 H 323.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8D4E93
RGBrgb(141, 78, 147)
HSLhsl(295, 31%, 44%)
HSVhsv(295, 47%, 58%)
CMYKcmyk(4.1%, 46.9%, 0%, 42.4%)
CIE-LABlab(43.09, 37.52, -27.02)
CIE-LCHlch(43.09, 46.24, 324.24°)
OKLaboklab(52.48% 0.102 -0.0743)
OKLCHoklch(52.48% 0.126 323.9)
XYZxyz(18.9749, 13.2189, 29.1501)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E93 #54934E
analogous
#6B4E93 #8D4E93 #934E77
triadic
#8D4E93 #938D4E #4E938D
tetradic
#8D4E93 #936B4E #54934E #4E7793
square
#8D4E93 #936B4E #54934E #4E7793
split-complementary
#8D4E93 #77934E #4E936B
monochromatic
#402443 #67396B #8D4E93 #AB6DB1 #C295C7

Accessibility & contrast

On white

5.76
#8D4E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8D4E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E93
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E93#FFFFFF#000000##FFFFFF
##8D4E931.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466195
Deuteranopia (green-blind)
#586891
Tritanopia (blue-blind)
#8F5669
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d4e93;
/* rgb */ color: rgb(141, 78, 147);
/* oklch */ color: oklch(52.5% 0.126 323.9);
Tailwind
colors: {
  custom: {
    50: '#b082b3',
    500: '#8d4e93',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e93;
$custom-light: #b082b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e93",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 294.783,
    "s": 30.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.12617,
    "h": 323.9
  },
  "luminance": 0.13218
}

Semantic roles & 50–950 ramp

primary
#8D4E93
secondary
#8DB38A
accent
#C7616A
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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