#8B48C8#8B48C8

#8B48C8 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.5% C 0.193 H 304.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8B48C8
RGBrgb(139, 72, 200)
HSLhsl(271, 54%, 53%)
HSVhsv(271, 64%, 78%)
CMYKcmyk(30.5%, 64%, 0%, 21.6%)
CIE-LABlab(44.65, 51.89, -55.82)
CIE-LCHlch(44.65, 76.21, 312.91°)
OKLaboklab(54.54% 0.1103 -0.1582)
OKLCHoklch(54.54% 0.193 304.9)
XYZxyz(23.3878, 14.2940, 56.1593)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48C8 #85C848
analogous
#4B48C8 #8B48C8 #C848C5
triadic
#8B48C8 #C88B48 #48C88B
tetradic
#8B48C8 #C84B48 #85C848 #48C5C8
square
#8B48C8 #C84B48 #85C848 #48C5C8
split-complementary
#8B48C8 #C5C848 #48C84B
monochromatic
#4D2373 #6C31A2 #8B48C8 #A977D6 #C7A6E4

Accessibility & contrast

On white

5.44
#8B48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8B48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48C8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48C8#FFFFFF#000000##FFFFFF
##8B48C81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b48c8;
/* rgb */ color: rgb(139, 72, 200);
/* oklch */ color: oklch(54.5% 0.193 304.9);
Tailwind
colors: {
  custom: {
    50: '#b17fd9',
    500: '#8b48c8',
    950: '#000000',
  },
}
SCSS
$custom: #8b48c8;
$custom-light: #b17fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48c8",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 271.406,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54538,
    "c": 0.19282,
    "h": 304.9
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#8B48C8
secondary
#B5D19A
accent
#DD4B90
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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