#8D48C2#8D48C2

#8D48C2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.187 H 307.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8D48C2
RGBrgb(141, 72, 194)
HSLhsl(274, 50%, 52%)
HSVhsv(274, 63%, 76%)
CMYKcmyk(27.3%, 62.9%, 0%, 23.9%)
CIE-LABlab(44.51, 50.94, -52.56)
CIE-LCHlch(44.51, 73.19, 314.10°)
OKLaboklab(54.36% 0.1132 -0.1485)
OKLCHoklch(54.36% 0.187 307.3)
XYZxyz(23.0375, 14.1928, 52.5543)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48C2 #7DC248
analogous
#5048C2 #8D48C2 #C248BA
triadic
#8D48C2 #C28D48 #48C28D
tetradic
#8D48C2 #C25048 #7DC248 #48BAC2
square
#8D48C2 #C25048 #7DC248 #48BAC2
split-complementary
#8D48C2 #BAC248 #48C250
monochromatic
#4D246C #6D339A #8D48C2 #AA76D1 #C6A4E1

Accessibility & contrast

On white

5.47
#8D48C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8D48C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48C2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48C2#FFFFFF#000000##FFFFFF
##8D48C21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#316ABF
Tritanopia (blue-blind)
#85617E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d48c2;
/* rgb */ color: rgb(141, 72, 194);
/* oklch */ color: oklch(54.4% 0.187 307.3);
Tailwind
colors: {
  custom: {
    50: '#b27fd5',
    500: '#8d48c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d48c2;
$custom-light: #b27fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48c2",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 273.934,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54364,
    "c": 0.18678,
    "h": 307.3
  },
  "luminance": 0.14192
}

Semantic roles & 50–950 ramp

primary
#8D48C2
secondary
#AFCE98
accent
#DA4E8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D48C2

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

Preview Lab → · Contrast checker → · Palette generator →

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