#8B48CE#8B48CE

#8B48CE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 55.0% C 0.199 H 303.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8B48CE
RGBrgb(139, 72, 206)
HSLhsl(270, 58%, 55%)
HSVhsv(270, 65%, 81%)
CMYKcmyk(32.5%, 65%, 0%, 19.2%)
CIE-LABlab(45.05, 53.32, -58.64)
CIE-LCHlch(45.05, 79.25, 312.28°)
OKLaboklab(54.96% 0.1098 -0.1665)
OKLCHoklch(54.96% 0.199 303.4)
XYZxyz(24.1028, 14.5800, 59.9250)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48CE #8BCE48
analogous
#4848CE #8B48CE #CE48CE
triadic
#8B48CE #CE8B48 #48CE8B
tetradic
#8B48CE #CE4848 #8BCE48 #48CECE
square
#8B48CE #CE4848 #8BCE48 #48CECE
split-complementary
#8B48CE #CECE48 #48CE48
monochromatic
#4E217B #6C2EAB #8B48CE #AA78DB #C8A9E8

Accessibility & contrast

On white

5.36
#8B48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8B48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48CE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48CE#FFFFFF#000000##FFFFFF
##8B48CE1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#196ACB
Tritanopia (blue-blind)
#7E6585
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b48ce;
/* rgb */ color: rgb(139, 72, 206);
/* oklch */ color: oklch(55.0% 0.199 303.4);
Tailwind
colors: {
  custom: {
    50: '#b27fde',
    500: '#8b48ce',
    950: '#000000',
  },
}
SCSS
$custom: #8b48ce;
$custom-light: #b27fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48ce",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 270,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.19939,
    "h": 303.4
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#8B48CE
secondary
#B9D59D
accent
#E14794
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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