#8D4097#8D4097

#8D4097 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.6% C 0.154 H 322.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8D4097
RGBrgb(141, 64, 151)
HSLhsl(293, 40%, 42%)
HSVhsv(293, 58%, 59%)
CMYKcmyk(6.6%, 57.6%, 0%, 40.8%)
CIE-LABlab(40.52, 45.66, -33.47)
CIE-LCHlch(40.52, 56.61, 323.76°)
OKLaboklab(50.65% 0.1227 -0.0927)
OKLCHoklch(50.65% 0.154 322.9)
XYZxyz(18.4033, 11.5648, 30.5350)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4097 #4A9740
analogous
#614097 #8D4097 #974076
triadic
#8D4097 #978D40 #40978D
tetradic
#8D4097 #976140 #4A9740 #407697
square
#8D4097 #976140 #4A9740 #407697
split-complementary
#8D4097 #769740 #409761
monochromatic
#3D1C41 #652E6C #8D4097 #AF5BB9 #C486CC

Accessibility & contrast

On white

6.34
#8D4097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8D4097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4097
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4097#FFFFFF#000000##FFFFFF
##8D40971.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#4C6395
Tritanopia (blue-blind)
#8F4C65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d4097;
/* rgb */ color: rgb(141, 64, 151);
/* oklch */ color: oklch(50.6% 0.154 322.9);
Tailwind
colors: {
  custom: {
    50: '#b179b6',
    500: '#8d4097',
    950: '#000000',
  },
}
SCSS
$custom: #8d4097;
$custom-light: #b179b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4097",
  "rgb": {
    "r": 141,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 293.103,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50647,
    "c": 0.15384,
    "h": 322.9
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#8D4097
secondary
#83B67D
accent
#D05765
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D4097

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

Preview Lab → · Contrast checker → · Palette generator →

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