#8D4EA5#8D4EA5

#8D4EA5 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.4% C 0.146 H 315.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8D4EA5
RGBrgb(141, 78, 165)
HSLhsl(283, 36%, 48%)
HSVhsv(283, 53%, 65%)
CMYKcmyk(14.5%, 52.7%, 0%, 35.3%)
CIE-LABlab(43.99, 41.29, -36.37)
CIE-LCHlch(43.99, 55.02, 318.63°)
OKLaboklab(53.44% 0.1046 -0.1013)
OKLCHoklch(53.44% 0.146 315.9)
XYZxyz(20.4994, 13.8287, 37.1794)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EA5 #66A54E
analogous
#614EA5 #8D4EA5 #A54E91
triadic
#8D4EA5 #A58D4E #4EA58D
tetradic
#8D4EA5 #A5614E #66A54E #4E91A5
square
#8D4EA5 #A5614E #66A54E #4E91A5
split-complementary
#8D4EA5 #91A54E #4EA561
monochromatic
#462752 #693A7B #8D4EA5 #A973BD #C29DD1

Accessibility & contrast

On white

5.58
#8D4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8D4EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EA5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EA5#FFFFFF#000000##FFFFFF
##8D4EA51.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A8
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#8C5B72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d4ea5;
/* rgb */ color: rgb(141, 78, 165);
/* oklch */ color: oklch(53.4% 0.146 315.9);
Tailwind
colors: {
  custom: {
    50: '#b082c0',
    500: '#8d4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ea5;
$custom-light: #b082c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ea5",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 283.448,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53438,
    "c": 0.14557,
    "h": 315.9
  },
  "luminance": 0.13828
}

Semantic roles & 50–950 ramp

primary
#8D4EA5
secondary
#9EBD91
accent
#CC5C7B
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8D4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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