#8D4E98#8D4E98

#8D4E98 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 52.7% C 0.131 H 321.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8D4E98
RGBrgb(141, 78, 152)
HSLhsl(291, 32%, 45%)
HSVhsv(291, 49%, 60%)
CMYKcmyk(7.2%, 48.7%, 0%, 40.4%)
CIE-LABlab(43.33, 38.54, -29.65)
CIE-LCHlch(43.33, 48.62, 322.43°)
OKLaboklab(52.74% 0.1029 -0.0818)
OKLCHoklch(52.74% 0.131 321.5)
XYZxyz(19.3757, 13.3793, 31.2615)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E98 #59984E
analogous
#684E98 #8D4E98 #984E7E
triadic
#8D4E98 #988D4E #4E988D
tetradic
#8D4E98 #98684E #59984E #4E7E98
square
#8D4E98 #98684E #59984E #4E7E98
split-complementary
#8D4E98 #7E984E #4E9868
monochromatic
#422447 #673970 #8D4E98 #AA6EB5 #C297CA

Accessibility & contrast

On white

5.71
#8D4E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8D4E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E98
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E98#FFFFFF#000000##FFFFFF
##8D4E981.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629B
Deuteranopia (green-blind)
#556996
Tritanopia (blue-blind)
#8E576C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d4e98;
/* rgb */ color: rgb(141, 78, 152);
/* oklch */ color: oklch(52.7% 0.131 321.5);
Tailwind
colors: {
  custom: {
    50: '#b082b6',
    500: '#8d4e98',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e98;
$custom-light: #b082b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e98",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 291.081,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.13144,
    "h": 321.5
  },
  "luminance": 0.13378
}

Semantic roles & 50–950 ramp

primary
#8D4E98
secondary
#92B68C
accent
#C85F6F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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