#8D4E95#8D4E95

#8D4E95 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 52.6% C 0.128 H 322.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8D4E95
RGBrgb(141, 78, 149)
HSLhsl(293, 31%, 45%)
HSVhsv(293, 48%, 58%)
CMYKcmyk(5.4%, 47.7%, 0%, 41.6%)
CIE-LABlab(43.19, 37.92, -28.07)
CIE-LCHlch(43.19, 47.19, 323.49°)
OKLaboklab(52.58% 0.1024 -0.0773)
OKLCHoklch(52.58% 0.128 322.9)
XYZxyz(19.1332, 13.2823, 29.9838)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E95 #56954E
analogous
#694E95 #8D4E95 #954E7A
triadic
#8D4E95 #958D4E #4E958D
tetradic
#8D4E95 #95694E #56954E #4E7A95
square
#8D4E95 #95694E #56954E #4E7A95
split-complementary
#8D4E95 #7A954E #4E9569
monochromatic
#412445 #67396D #8D4E95 #AB6DB3 #C296C8

Accessibility & contrast

On white

5.74
#8D4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8D4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E95
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E95#FFFFFF#000000##FFFFFF
##8D4E951.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456197
Deuteranopia (green-blind)
#576993
Tritanopia (blue-blind)
#8F576A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d4e95;
/* rgb */ color: rgb(141, 78, 149);
/* oklch */ color: oklch(52.6% 0.128 322.9);
Tailwind
colors: {
  custom: {
    50: '#b082b4',
    500: '#8d4e95',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e95;
$custom-light: #b082b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e95",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 293.239,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.12827,
    "h": 322.9
  },
  "luminance": 0.13281
}

Semantic roles & 50–950 ramp

primary
#8D4E95
secondary
#8FB48A
accent
#C7606C
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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