#8D48BC#8D48BC

#8D48BC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.180 H 309.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8D48BC
RGBrgb(141, 72, 188)
HSLhsl(276, 46%, 51%)
HSVhsv(276, 62%, 74%)
CMYKcmyk(25%, 61.7%, 0%, 26.3%)
CIE-LABlab(44.13, 49.56, -49.67)
CIE-LCHlch(44.13, 70.16, 314.93°)
OKLaboklab(53.97% 0.1135 -0.1401)
OKLCHoklch(53.97% 0.18 309)
XYZxyz(22.3772, 13.9287, 49.0769)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48BC #77BC48
analogous
#5348BC #8D48BC #BC48B1
triadic
#8D48BC #BC8D48 #48BC8D
tetradic
#8D48BC #BC5348 #77BC48 #48B1BC
square
#8D48BC #BC5348 #77BC48 #48B1BC
split-complementary
#8D48BC #B1BC48 #48BC53
monochromatic
#4B2565 #6C3592 #8D48BC #A975CC #C5A2DD

Accessibility & contrast

On white

5.55
#8D48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D48BC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48BC#FFFFFF#000000##FFFFFF
##8D48BC1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1165C0
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#865F7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d48bc;
/* rgb */ color: rgb(141, 72, 188);
/* oklch */ color: oklch(54.0% 0.180 309.0);
Tailwind
colors: {
  custom: {
    50: '#b27fd1',
    500: '#8d48bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d48bc;
$custom-light: #b27fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48bc",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 275.69,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53969,
    "c": 0.18025,
    "h": 309
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#8D48BC
secondary
#ABCA96
accent
#D65287
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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