#9B48BC#9B48BC

#9B48BC is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.7% C 0.185 H 315.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9B48BC
RGBrgb(155, 72, 188)
HSLhsl(283, 46%, 51%)
HSVhsv(283, 62%, 74%)
CMYKcmyk(17.6%, 61.7%, 0%, 26.3%)
CIE-LABlab(45.95, 52.93, -46.65)
CIE-LCHlch(45.95, 70.56, 318.61°)
OKLaboklab(55.68% 0.1313 -0.1308)
OKLCHoklch(55.68% 0.185 315.1)
XYZxyz(24.9106, 15.2350, 49.1956)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48BC #69BC48
analogous
#6148BC #9B48BC #BC48A3
triadic
#9B48BC #BC9B48 #48BC9B
tetradic
#9B48BC #BC6148 #69BC48 #48A3BC
square
#9B48BC #BC6148 #69BC48 #48A3BC
split-complementary
#9B48BC #A3BC48 #48BC61
monochromatic
#532565 #773592 #9B48BC #B375CC #CCA2DD

Accessibility & contrast

On white

5.19
#9B48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9B48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48BC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48BC#FFFFFF#000000##FFFFFF
##9B48BC1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C0
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#995D7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b48bc;
/* rgb */ color: rgb(155, 72, 188);
/* oklch */ color: oklch(55.7% 0.185 315.1);
Tailwind
colors: {
  custom: {
    50: '#bc80d1',
    500: '#9b48bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b48bc;
$custom-light: #bc80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48bc",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 282.931,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.18531,
    "h": 315.1
  },
  "luminance": 0.15234
}

Semantic roles & 50–950 ramp

primary
#9B48BC
secondary
#A5CA96
accent
#D65277
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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