#8D48C8#8D48C8

#8D48C8 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.8% C 0.193 H 305.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8D48C8
RGBrgb(141, 72, 200)
HSLhsl(272, 54%, 53%)
HSVhsv(272, 64%, 78%)
CMYKcmyk(29.5%, 64%, 0%, 21.6%)
CIE-LABlab(44.90, 52.33, -55.41)
CIE-LCHlch(44.90, 76.22, 313.36°)
OKLaboklab(54.77% 0.1129 -0.1569)
OKLCHoklch(54.77% 0.193 305.7)
XYZxyz(23.7249, 14.4678, 56.1751)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48C8 #83C848
analogous
#4D48C8 #8D48C8 #C848C3
triadic
#8D48C8 #C88D48 #48C88D
tetradic
#8D48C8 #C84D48 #83C848 #48C3C8
square
#8D48C8 #C84D48 #83C848 #48C3C8
split-complementary
#8D48C8 #C3C848 #48C84D
monochromatic
#4E2373 #6E31A2 #8D48C8 #AA77D6 #C8A6E4

Accessibility & contrast

On white

5.39
#8D48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8D48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48C8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48C8#FFFFFF#000000##FFFFFF
##8D48C81.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#296AC5
Tritanopia (blue-blind)
#836382
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d48c8;
/* rgb */ color: rgb(141, 72, 200);
/* oklch */ color: oklch(54.8% 0.193 305.7);
Tailwind
colors: {
  custom: {
    50: '#b27fd9',
    500: '#8d48c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d48c8;
$custom-light: #b27fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48c8",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 272.344,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.19332,
    "h": 305.7
  },
  "luminance": 0.14468
}

Semantic roles & 50–950 ramp

primary
#8D48C8
secondary
#B4D19A
accent
#DD4B8E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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