#9D48BC#9D48BC

#9D48BC is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.186 H 315.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9D48BC
RGBrgb(157, 72, 188)
HSLhsl(284, 46%, 51%)
HSVhsv(284, 62%, 74%)
CMYKcmyk(16.5%, 61.7%, 0%, 26.3%)
CIE-LABlab(46.22, 53.42, -46.20)
CIE-LCHlch(46.22, 70.63, 319.14°)
OKLaboklab(55.94% 0.1338 -0.1294)
OKLCHoklch(55.94% 0.186 315.9)
XYZxyz(25.2977, 15.4346, 49.2138)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48BC #67BC48
analogous
#6348BC #9D48BC #BC48A1
triadic
#9D48BC #BC9D48 #48BC9D
tetradic
#9D48BC #BC6348 #67BC48 #48A1BC
square
#9D48BC #BC6348 #67BC48 #48A1BC
split-complementary
#9D48BC #A1BC48 #48BC63
monochromatic
#542565 #793592 #9D48BC #B575CC #CDA2DD

Accessibility & contrast

On white

5.14
#9D48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9D48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48BC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48BC#FFFFFF#000000##FFFFFF
##9D48BC1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368C0
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#9B5C7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d48bc;
/* rgb */ color: rgb(157, 72, 188);
/* oklch */ color: oklch(55.9% 0.186 315.9);
Tailwind
colors: {
  custom: {
    50: '#bd80d1',
    500: '#9d48bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d48bc;
$custom-light: #bd80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48bc",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 283.966,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55935,
    "c": 0.18614,
    "h": 315.9
  },
  "luminance": 0.15434
}

Semantic roles & 50–950 ramp

primary
#9D48BC
secondary
#A4CA96
accent
#D65275
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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