#8B48BA#8B48BA

#8B48BA is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.177 H 308.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8B48BA
RGBrgb(139, 72, 186)
HSLhsl(275, 45%, 51%)
HSVhsv(275, 61%, 73%)
CMYKcmyk(25.3%, 61.3%, 0%, 27.1%)
CIE-LABlab(43.75, 48.62, -49.12)
CIE-LCHlch(43.75, 69.11, 314.71°)
OKLaboklab(53.6% 0.1109 -0.1385)
OKLCHoklch(53.6% 0.177 308.7)
XYZxyz(21.8260, 13.6692, 47.9335)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48BA #77BA48
analogous
#5248BA #8B48BA #BA48B0
triadic
#8B48BA #BA8B48 #48BA8B
tetradic
#8B48BA #BA5248 #77BA48 #48B0BA
square
#8B48BA #BA5248 #77BA48 #48B0BA
split-complementary
#8B48BA #B0BA48 #48BA52
monochromatic
#492562 #6A368F #8B48BA #A774CB #C3A1DC

Accessibility & contrast

On white

5.62
#8B48BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8B48BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48BA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48BA#FFFFFF#000000##FFFFFF
##8B48BA1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BE
Deuteranopia (green-blind)
#3768B7
Tritanopia (blue-blind)
#845E7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b48ba;
/* rgb */ color: rgb(139, 72, 186);
/* oklch */ color: oklch(53.6% 0.177 308.7);
Tailwind
colors: {
  custom: {
    50: '#b07fcf',
    500: '#8b48ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b48ba;
$custom-light: #b07fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48ba",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 275.263,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53602,
    "c": 0.17744,
    "h": 308.7
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#8B48BA
secondary
#AAC896
accent
#D55388
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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