#8D48C7#8D48C7

#8D48C7 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.192 H 306.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8D48C7
RGBrgb(141, 72, 199)
HSLhsl(273, 53%, 53%)
HSVhsv(273, 64%, 78%)
CMYKcmyk(29.1%, 63.8%, 0%, 22%)
CIE-LABlab(44.83, 52.10, -54.94)
CIE-LCHlch(44.83, 75.71, 313.48°)
OKLaboklab(54.7% 0.113 -0.1555)
OKLCHoklch(54.7% 0.192 306)
XYZxyz(23.6085, 14.4212, 55.5616)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48C7 #82C748
analogous
#4D48C7 #8D48C7 #C748C2
triadic
#8D48C7 #C78D48 #48C78D
tetradic
#8D48C7 #C74D48 #82C748 #48C2C7
square
#8D48C7 #C74D48 #82C748 #48C2C7
split-complementary
#8D48C7 #C2C748 #48C74D
monochromatic
#4E2372 #6E31A1 #8D48C7 #AA77D5 #C7A6E4

Accessibility & contrast

On white

5.41
#8D48C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8D48C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48C7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48C7#FFFFFF#000000##FFFFFF
##8D48C71.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#2A6AC4
Tritanopia (blue-blind)
#836381
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d48c7;
/* rgb */ color: rgb(141, 72, 199);
/* oklch */ color: oklch(54.7% 0.192 306.0);
Tailwind
colors: {
  custom: {
    50: '#b27fd9',
    500: '#8d48c7',
    950: '#000000',
  },
}
SCSS
$custom: #8d48c7;
$custom-light: #b27fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48c7",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 272.598,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.19223,
    "h": 306
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#8D48C7
secondary
#B3D19A
accent
#DD4B8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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