#8D4FA7#8D4FA7

#8D4FA7 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.7% C 0.146 H 315.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8D4FA7
RGBrgb(141, 79, 167)
HSLhsl(282, 36%, 48%)
HSVhsv(282, 53%, 65%)
CMYKcmyk(15.6%, 52.7%, 0%, 34.5%)
CIE-LABlab(44.30, 41.18, -37.06)
CIE-LCHlch(44.30, 55.40, 318.02°)
OKLaboklab(53.7% 0.1034 -0.1033)
OKLCHoklch(53.7% 0.146 315)
XYZxyz(20.7544, 14.0453, 38.1694)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FA7 #69A74F
analogous
#614FA7 #8D4FA7 #A74F95
triadic
#8D4FA7 #A78D4F #4FA78D
tetradic
#8D4FA7 #A7614F #69A74F #4F95A7
square
#8D4FA7 #A7614F #69A74F #4F95A7
split-complementary
#8D4FA7 #95A74F #4FA761
monochromatic
#472854 #6A3B7D #8D4FA7 #A875BE #C39FD2

Accessibility & contrast

On white

5.51
#8D4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8D4FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FA7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FA7#FFFFFF#000000##FFFFFF
##8D4FA71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B65AA
Deuteranopia (green-blind)
#4E6AA5
Tritanopia (blue-blind)
#8B5D73
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4fa7;
/* rgb */ color: rgb(141, 79, 167);
/* oklch */ color: oklch(53.7% 0.146 315.0);
Tailwind
colors: {
  custom: {
    50: '#b083c1',
    500: '#8d4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fa7;
$custom-light: #b083c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fa7",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 282.273,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.14613,
    "h": 315
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#8D4FA7
secondary
#A0BE93
accent
#CC5C7D
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8D4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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