#8B48D1#8B48D1

#8B48D1 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.203 H 302.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8B48D1
RGBrgb(139, 72, 209)
HSLhsl(269, 60%, 55%)
HSVhsv(269, 66%, 82%)
CMYKcmyk(33.5%, 65.6%, 0%, 18%)
CIE-LABlab(45.26, 54.04, -60.03)
CIE-LCHlch(45.26, 80.77, 311.99°)
OKLaboklab(55.17% 0.1095 -0.1706)
OKLCHoklch(55.17% 0.203 302.7)
XYZxyz(24.4708, 14.7271, 61.8627)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48D1 #8ED148
analogous
#484AD1 #8B48D1 #CF48D1
triadic
#8B48D1 #D18B48 #48D18B
tetradic
#8B48D1 #D1484A #8ED148 #48D1CF
square
#8B48D1 #D1484A #8ED148 #48D1CF
split-complementary
#8B48D1 #D1CF48 #4AD148
monochromatic
#4E207F #6C2CB0 #8B48D1 #AA79DD #C9AAEA

Accessibility & contrast

On white

5.32
#8B48D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8B48D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48D1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48D1#FFFFFF#000000##FFFFFF
##8B48D11.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#106BCE
Tritanopia (blue-blind)
#7D6686
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b48d1;
/* rgb */ color: rgb(139, 72, 209);
/* oklch */ color: oklch(55.2% 0.203 302.7);
Tailwind
colors: {
  custom: {
    50: '#b27fe0',
    500: '#8b48d1',
    950: '#000000',
  },
}
SCSS
$custom: #8b48d1;
$custom-light: #b27fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48d1",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 269.343,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.20267,
    "h": 302.7
  },
  "luminance": 0.14727
}

Semantic roles & 50–950 ramp

primary
#8B48D1
secondary
#BBD79E
accent
#E34596
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B48D1

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

Preview Lab → · Contrast checker → · Palette generator →

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