#8D48AF#8D48AF

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

Color values

HEX#8D48AF
RGBrgb(141, 72, 175)
HSLhsl(280, 42%, 48%)
HSVhsv(280, 59%, 69%)
CMYKcmyk(19.4%, 58.9%, 0%, 31.4%)
CIE-LABlab(43.35, 46.64, -43.29)
CIE-LCHlch(43.35, 63.63, 317.13°)
OKLaboklab(53.15% 0.1134 -0.1214)
OKLCHoklch(53.15% 0.166 313.1)
XYZxyz(21.0384, 13.3932, 42.0260)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48AF #6AAF48
analogous
#5948AF #8D48AF #AF489D
triadic
#8D48AF #AF8D48 #48AF8D
tetradic
#8D48AF #AF5948 #6AAF48 #489DAF
square
#8D48AF #AF5948 #6AAF48 #489DAF
split-complementary
#8D48AF #9DAF48 #48AF59
monochromatic
#472458 #6A3684 #8D48AF #A870C4 #C39BD6

Accessibility & contrast

On white

5.71
#8D48AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8D48AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48AF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48AF#FFFFFF#000000##FFFFFF
##8D48AF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#8A5A75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d48af;
/* rgb */ color: rgb(141, 72, 175);
/* oklch */ color: oklch(53.1% 0.166 313.1);
Tailwind
colors: {
  custom: {
    50: '#b17ec7',
    500: '#8d48af',
    950: '#000000',
  },
}
SCSS
$custom: #8d48af;
$custom-light: #b17ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48af",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 280.194,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.16614,
    "h": 313.1
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#8D48AF
secondary
#A1C290
accent
#D2567F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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