#8D4E9B#8D4E9B

#8D4E9B is a mid, vivid purple. Relative luminance 0.135; OKLCH L 52.9% C 0.135 H 320.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8D4E9B
RGBrgb(141, 78, 155)
HSLhsl(289, 33%, 46%)
HSVhsv(289, 50%, 61%)
CMYKcmyk(9%, 49.7%, 0%, 39.2%)
CIE-LABlab(43.48, 39.16, -31.21)
CIE-LCHlch(43.48, 50.08, 321.44°)
OKLaboklab(52.89% 0.1033 -0.0863)
OKLCHoklch(52.89% 0.135 320.1)
XYZxyz(19.6246, 13.4788, 32.5719)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E9B #5C9B4E
analogous
#664E9B #8D4E9B #9B4E82
triadic
#8D4E9B #9B8D4E #4E9B8D
tetradic
#8D4E9B #9B664E #5C9B4E #4E829B
square
#8D4E9B #9B664E #5C9B4E #4E829B
split-complementary
#8D4E9B #829B4E #4E9B66
monochromatic
#43254A #683A72 #8D4E9B #AA6FB7 #C298CB

Accessibility & contrast

On white

5.68
#8D4E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8D4E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E9B
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E9B#FFFFFF#000000##FFFFFF
##8D4E9B1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41629E
Deuteranopia (green-blind)
#546999
Tritanopia (blue-blind)
#8E586D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d4e9b;
/* rgb */ color: rgb(141, 78, 155);
/* oklch */ color: oklch(52.9% 0.135 320.1);
Tailwind
colors: {
  custom: {
    50: '#b082b9',
    500: '#8d4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e9b;
$custom-light: #b082b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e9b",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 289.091,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.13465,
    "h": 320.1
  },
  "luminance": 0.13478
}

Semantic roles & 50–950 ramp

primary
#8D4E9B
secondary
#95B88D
accent
#C95F72
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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