#9C48BC#9C48BC

#9C48BC is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.8% C 0.186 H 315.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9C48BC
RGBrgb(156, 72, 188)
HSLhsl(283, 46%, 51%)
HSVhsv(283, 62%, 74%)
CMYKcmyk(17%, 61.7%, 0%, 26.3%)
CIE-LABlab(46.09, 53.18, -46.43)
CIE-LCHlch(46.09, 70.59, 318.88°)
OKLaboklab(55.81% 0.1325 -0.1301)
OKLCHoklch(55.81% 0.186 315.5)
XYZxyz(25.1033, 15.3343, 49.2047)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C48BC #68BC48
analogous
#6248BC #9C48BC #BC48A2
triadic
#9C48BC #BC9C48 #48BC9C
tetradic
#9C48BC #BC6248 #68BC48 #48A2BC
square
#9C48BC #BC6248 #68BC48 #48A2BC
split-complementary
#9C48BC #A2BC48 #48BC62
monochromatic
#532565 #783592 #9C48BC #B475CC #CCA2DD

Accessibility & contrast

On white

5.16
#9C48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9C48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C48BC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C48BC#FFFFFF#000000##FFFFFF
##9C48BC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268C0
Deuteranopia (green-blind)
#4770B9
Tritanopia (blue-blind)
#9A5D7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c48bc;
/* rgb */ color: rgb(156, 72, 188);
/* oklch */ color: oklch(55.8% 0.186 315.5);
Tailwind
colors: {
  custom: {
    50: '#bc80d1',
    500: '#9c48bc',
    950: '#000000',
  },
}
SCSS
$custom: #9c48bc;
$custom-light: #bc80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c48bc",
  "rgb": {
    "r": 156,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 283.448,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.18572,
    "h": 315.5
  },
  "luminance": 0.15333
}

Semantic roles & 50–950 ramp

primary
#9C48BC
secondary
#A4CA96
accent
#D65276
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9C48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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