#8B48C7#8B48C7

#8B48C7 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.5% C 0.192 H 305.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8B48C7
RGBrgb(139, 72, 199)
HSLhsl(272, 53%, 53%)
HSVhsv(272, 64%, 78%)
CMYKcmyk(30.2%, 63.8%, 0%, 22%)
CIE-LABlab(44.59, 51.65, -55.35)
CIE-LCHlch(44.59, 75.71, 313.02°)
OKLaboklab(54.47% 0.1103 -0.1568)
OKLCHoklch(54.47% 0.192 305.1)
XYZxyz(23.2714, 14.2474, 55.5458)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48C7 #84C748
analogous
#4C48C7 #8B48C7 #C748C3
triadic
#8B48C7 #C78B48 #48C78B
tetradic
#8B48C7 #C74C48 #84C748 #48C3C7
square
#8B48C7 #C74C48 #84C748 #48C3C7
split-complementary
#8B48C7 #C3C748 #48C74C
monochromatic
#4C2372 #6C31A1 #8B48C7 #A977D5 #C6A6E4

Accessibility & contrast

On white

5.46
#8B48C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8B48C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48C7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48C7#FFFFFF#000000##FFFFFF
##8B48C71.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#276AC4
Tritanopia (blue-blind)
#806381
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b48c7;
/* rgb */ color: rgb(139, 72, 199);
/* oklch */ color: oklch(54.5% 0.192 305.1);
Tailwind
colors: {
  custom: {
    50: '#b17fd9',
    500: '#8b48c7',
    950: '#000000',
  },
}
SCSS
$custom: #8b48c7;
$custom-light: #b17fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48c7",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 271.654,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5447,
    "c": 0.19172,
    "h": 305.1
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#8B48C7
secondary
#B4D19A
accent
#DD4B90
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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