#8B48BF#8B48BF

#8B48BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.183 H 307.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8B48BF
RGBrgb(139, 72, 191)
HSLhsl(274, 48%, 52%)
HSVhsv(274, 62%, 75%)
CMYKcmyk(27.2%, 62.3%, 0%, 25.1%)
CIE-LABlab(44.07, 49.78, -51.53)
CIE-LCHlch(44.07, 71.65, 314.01°)
OKLaboklab(53.93% 0.1107 -0.1456)
OKLCHoklch(53.93% 0.183 307.3)
XYZxyz(22.3668, 13.8856, 50.7820)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48BF #7CBF48
analogous
#5048BF #8B48BF #BF48B7
triadic
#8B48BF #BF8B48 #48BF8B
tetradic
#8B48BF #BF5048 #7CBF48 #48B7BF
square
#8B48BF #BF5048 #7CBF48 #48B7BF
split-complementary
#8B48BF #B7BF48 #48BF50
monochromatic
#4B2468 #6B3496 #8B48BF #A875CF #C4A3DF

Accessibility & contrast

On white

5.56
#8B48BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8B48BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48BF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48BF#FFFFFF#000000##FFFFFF
##8B48BF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0366C3
Deuteranopia (green-blind)
#3269BC
Tritanopia (blue-blind)
#83607D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b48bf;
/* rgb */ color: rgb(139, 72, 191);
/* oklch */ color: oklch(53.9% 0.183 307.3);
Tailwind
colors: {
  custom: {
    50: '#b17fd3',
    500: '#8b48bf',
    950: '#000000',
  },
}
SCSS
$custom: #8b48bf;
$custom-light: #b17fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48bf",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 273.782,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.18293,
    "h": 307.3
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

primary
#8B48BF
secondary
#AECC97
accent
#D8508B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8B48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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