#8D48BB#8D48BB

#8D48BB is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.179 H 309.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8D48BB
RGBrgb(141, 72, 187)
HSLhsl(276, 46%, 51%)
HSVhsv(276, 61%, 73%)
CMYKcmyk(24.6%, 61.5%, 0%, 26.7%)
CIE-LABlab(44.07, 49.33, -49.19)
CIE-LCHlch(44.07, 69.66, 315.08°)
OKLaboklab(53.9% 0.1135 -0.1386)
OKLCHoklch(53.9% 0.179 309.3)
XYZxyz(22.2698, 13.8857, 48.5111)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48BB #76BB48
analogous
#5348BB #8D48BB #BB48AF
triadic
#8D48BB #BB8D48 #48BB8D
tetradic
#8D48BB #BB5348 #76BB48 #48AFBB
square
#8D48BB #BB5348 #76BB48 #48AFBB
split-complementary
#8D48BB #AFBB48 #48BB53
monochromatic
#4B2564 #6C3690 #8D48BB #A975CC #C5A1DC

Accessibility & contrast

On white

5.56
#8D48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8D48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48BB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48BB#FFFFFF#000000##FFFFFF
##8D48BB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#875E7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d48bb;
/* rgb */ color: rgb(141, 72, 187);
/* oklch */ color: oklch(53.9% 0.179 309.3);
Tailwind
colors: {
  custom: {
    50: '#b27fd0',
    500: '#8d48bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d48bb;
$custom-light: #b27fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48bb",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 276,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.17916,
    "h": 309.3
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

primary
#8D48BB
secondary
#AAC996
accent
#D55287
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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