#8D4EA7#8D4EA7

#8D4EA7 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.5% C 0.148 H 315.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8D4EA7
RGBrgb(141, 78, 167)
HSLhsl(282, 36%, 48%)
HSVhsv(282, 53%, 65%)
CMYKcmyk(15.6%, 53.3%, 0%, 34.5%)
CIE-LABlab(44.09, 41.72, -37.38)
CIE-LCHlch(44.09, 56.02, 318.14°)
OKLaboklab(53.55% 0.1048 -0.1042)
OKLCHoklch(53.55% 0.148 315.2)
XYZxyz(20.6829, 13.9021, 38.1456)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EA7 #68A74E
analogous
#604EA7 #8D4EA7 #A74E94
triadic
#8D4EA7 #A78D4E #4EA78D
tetradic
#8D4EA7 #A7604E #68A74E #4E94A7
square
#8D4EA7 #A7604E #68A74E #4E94A7
split-complementary
#8D4EA7 #94A74E #4EA760
monochromatic
#472754 #6A3B7D #8D4EA7 #A874BE #C29ED2

Accessibility & contrast

On white

5.55
#8D4EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8D4EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EA7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EA7#FFFFFF#000000##FFFFFF
##8D4EA71.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964AA
Deuteranopia (green-blind)
#4E6AA5
Tritanopia (blue-blind)
#8B5C73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d4ea7;
/* rgb */ color: rgb(141, 78, 167);
/* oklch */ color: oklch(53.5% 0.148 315.2);
Tailwind
colors: {
  custom: {
    50: '#b082c1',
    500: '#8d4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ea7;
$custom-light: #b082c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ea7",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 282.472,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.14779,
    "h": 315.2
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#8D4EA7
secondary
#9FBE92
accent
#CC5B7C
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8D4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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