#8B48CD#8B48CD

#8B48CD is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.9% C 0.198 H 303.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8B48CD
RGBrgb(139, 72, 205)
HSLhsl(270, 57%, 54%)
HSVhsv(270, 65%, 80%)
CMYKcmyk(32.2%, 64.9%, 0%, 19.6%)
CIE-LABlab(44.99, 53.08, -58.17)
CIE-LCHlch(44.99, 78.75, 312.38°)
OKLaboklab(54.89% 0.1099 -0.1651)
OKLCHoklch(54.89% 0.198 303.6)
XYZxyz(23.9818, 14.5315, 59.2872)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48CD #8ACD48
analogous
#4948CD #8B48CD #CD48CC
triadic
#8B48CD #CD8B48 #48CD8B
tetradic
#8B48CD #CD4948 #8ACD48 #48CCCD
square
#8B48CD #CD4948 #8ACD48 #48CCCD
split-complementary
#8B48CD #CCCD48 #48CD49
monochromatic
#4E2179 #6C2EA9 #8B48CD #A978DA #C8A8E7

Accessibility & contrast

On white

5.38
#8B48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8B48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48CD#FFFFFF#000000##FFFFFF
##8B48CD1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#1C6ACA
Tritanopia (blue-blind)
#7E6584
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b48cd;
/* rgb */ color: rgb(139, 72, 205);
/* oklch */ color: oklch(54.9% 0.198 303.6);
Tailwind
colors: {
  custom: {
    50: '#b17fdd',
    500: '#8b48cd',
    950: '#000000',
  },
}
SCSS
$custom: #8b48cd;
$custom-light: #b17fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48cd",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 270.226,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.1983,
    "h": 303.6
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#8B48CD
secondary
#B8D59C
accent
#E04793
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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