#8D48AE#8D48AE

#8D48AE is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.1% C 0.165 H 313.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8D48AE
RGBrgb(141, 72, 174)
HSLhsl(281, 41%, 48%)
HSVhsv(281, 59%, 68%)
CMYKcmyk(19%, 58.6%, 0%, 31.8%)
CIE-LABlab(43.29, 46.42, -42.79)
CIE-LCHlch(43.29, 63.13, 317.33°)
OKLaboklab(53.09% 0.1134 -0.1199)
OKLCHoklch(53.09% 0.165 313.4)
XYZxyz(20.9406, 13.3540, 41.5107)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48AE #69AE48
analogous
#5A48AE #8D48AE #AE489C
triadic
#8D48AE #AE8D48 #48AE8D
tetradic
#8D48AE #AE5A48 #69AE48 #489CAE
square
#8D48AE #AE5A48 #69AE48 #489CAE
split-complementary
#8D48AE #9CAE48 #48AE5A
monochromatic
#472457 #6A3683 #8D48AE #A870C4 #C39BD6

Accessibility & contrast

On white

5.72
#8D48AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8D48AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48AE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48AE#FFFFFF#000000##FFFFFF
##8D48AE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B1
Deuteranopia (green-blind)
#4468AB
Tritanopia (blue-blind)
#8A5A74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d48ae;
/* rgb */ color: rgb(141, 72, 174);
/* oklch */ color: oklch(53.1% 0.165 313.4);
Tailwind
colors: {
  custom: {
    50: '#b17ec7',
    500: '#8d48ae',
    950: '#000000',
  },
}
SCSS
$custom: #8d48ae;
$custom-light: #b17ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48ae",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 280.588,
    "s": 41.463,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.16506,
    "h": 313.4
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#8D48AE
secondary
#A0C290
accent
#D1577E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D48AE

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

Preview Lab → · Contrast checker → · Palette generator →

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