#9B48BB#9B48BB

#9B48BB is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.6% C 0.184 H 315.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9B48BB
RGBrgb(155, 72, 187)
HSLhsl(283, 46%, 51%)
HSVhsv(283, 61%, 73%)
CMYKcmyk(17.1%, 61.5%, 0%, 26.7%)
CIE-LABlab(45.90, 52.72, -46.16)
CIE-LCHlch(45.90, 70.08, 318.80°)
OKLaboklab(55.62% 0.1313 -0.1294)
OKLCHoklch(55.62% 0.184 315.4)
XYZxyz(24.8032, 15.1920, 48.6299)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48BB #68BB48
analogous
#6148BB #9B48BB #BB48A2
triadic
#9B48BB #BB9B48 #48BB9B
tetradic
#9B48BB #BB6148 #68BB48 #48A2BB
square
#9B48BB #BB6148 #68BB48 #48A2BB
split-complementary
#9B48BB #A2BB48 #48BB61
monochromatic
#522564 #773690 #9B48BB #B375CC #CCA1DC

Accessibility & contrast

On white

5.20
#9B48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9B48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48BB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48BB#FFFFFF#000000##FFFFFF
##9B48BB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#995C7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b48bb;
/* rgb */ color: rgb(155, 72, 187);
/* oklch */ color: oklch(55.6% 0.184 315.4);
Tailwind
colors: {
  custom: {
    50: '#bb80d0',
    500: '#9b48bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b48bb;
$custom-light: #bb80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48bb",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 283.304,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55622,
    "c": 0.18431,
    "h": 315.4
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#9B48BB
secondary
#A4C996
accent
#D55277
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B48BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9B48BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva