#8D46A7#8D46A7

#8D46A7 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.4% C 0.161 H 316.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8D46A7
RGBrgb(141, 70, 167)
HSLhsl(284, 41%, 46%)
HSVhsv(284, 58%, 65%)
CMYKcmyk(15.6%, 58.1%, 0%, 34.5%)
CIE-LABlab(42.51, 45.93, -39.89)
CIE-LCHlch(42.51, 60.83, 319.02°)
OKLaboklab(52.39% 0.1158 -0.1114)
OKLCHoklch(52.39% 0.161 316.1)
XYZxyz(20.1487, 12.8337, 37.9675)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46A7 #60A746
analogous
#5D46A7 #8D46A7 #A74691
triadic
#8D46A7 #A78D46 #46A78D
tetradic
#8D46A7 #A75D46 #60A746 #4691A7
square
#8D46A7 #A75D46 #60A746 #4691A7
split-complementary
#8D46A7 #91A746 #46A75D
monochromatic
#442251 #69347C #8D46A7 #A96AC0 #C295D3

Accessibility & contrast

On white

5.89
#8D46A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8D46A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46A7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46A7#FFFFFF#000000##FFFFFF
##8D46A71.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60AA
Deuteranopia (green-blind)
#4766A5
Tritanopia (blue-blind)
#8C5670
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d46a7;
/* rgb */ color: rgb(141, 70, 167);
/* oklch */ color: oklch(52.4% 0.161 316.1);
Tailwind
colors: {
  custom: {
    50: '#b17dc1',
    500: '#8d46a7',
    950: '#000000',
  },
}
SCSS
$custom: #8d46a7;
$custom-light: #b17dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46a7",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 283.918,
    "s": 40.928,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.16069,
    "h": 316.1
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#8D46A7
secondary
#98BE8A
accent
#D15778
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8D46A7

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

Preview Lab → · Contrast checker → · Palette generator →

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