#8D48BD#8D48BD

#8D48BD is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.181 H 308.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8D48BD
RGBrgb(141, 72, 189)
HSLhsl(275, 47%, 51%)
HSVhsv(275, 62%, 74%)
CMYKcmyk(25.4%, 61.9%, 0%, 25.9%)
CIE-LABlab(44.19, 49.79, -50.16)
CIE-LCHlch(44.19, 70.67, 314.79°)
OKLaboklab(54.03% 0.1134 -0.1415)
OKLCHoklch(54.03% 0.181 308.7)
XYZxyz(22.4853, 13.9719, 49.6466)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48BD #78BD48
analogous
#5248BD #8D48BD #BD48B2
triadic
#8D48BD #BD8D48 #48BD8D
tetradic
#8D48BD #BD5248 #78BD48 #48B2BD
square
#8D48BD #BD5248 #78BD48 #48B2BD
split-complementary
#8D48BD #B2BD48 #48BD52
monochromatic
#4B2566 #6C3593 #8D48BD #A975CD #C5A2DD

Accessibility & contrast

On white

5.53
#8D48BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8D48BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48BD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48BD#FFFFFF#000000##FFFFFF
##8D48BD1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E66C1
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#865F7C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d48bd;
/* rgb */ color: rgb(141, 72, 189);
/* oklch */ color: oklch(54.0% 0.181 308.7);
Tailwind
colors: {
  custom: {
    50: '#b27fd1',
    500: '#8d48bd',
    950: '#000000',
  },
}
SCSS
$custom: #8d48bd;
$custom-light: #b27fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48bd",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 275.385,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54034,
    "c": 0.18134,
    "h": 308.7
  },
  "luminance": 0.13972
}

Semantic roles & 50–950 ramp

primary
#8D48BD
secondary
#ACCA97
accent
#D75188
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D48BD

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

Preview Lab → · Contrast checker → · Palette generator →

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