#9D48BB#9D48BB

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

Color values

HEX#9D48BB
RGBrgb(157, 72, 187)
HSLhsl(284, 46%, 51%)
HSVhsv(284, 61%, 73%)
CMYKcmyk(16%, 61.5%, 0%, 26.7%)
CIE-LABlab(46.17, 53.21, -45.71)
CIE-LCHlch(46.17, 70.15, 319.33°)
OKLaboklab(55.87% 0.1338 -0.128)
OKLCHoklch(55.87% 0.185 316.3)
XYZxyz(25.1903, 15.3916, 48.6480)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48BB #66BB48
analogous
#6348BB #9D48BB #BB489F
triadic
#9D48BB #BB9D48 #48BB9D
tetradic
#9D48BB #BB6348 #66BB48 #489FBB
square
#9D48BB #BB6348 #66BB48 #489FBB
split-complementary
#9D48BB #9FBB48 #48BB63
monochromatic
#532564 #793690 #9D48BB #B575CC #CDA1DC

Accessibility & contrast

On white

5.15
#9D48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9D48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48BB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48BB#FFFFFF#000000##FFFFFF
##9D48BB1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BF
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#9B5C7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d48bb;
/* rgb */ color: rgb(157, 72, 187);
/* oklch */ color: oklch(55.9% 0.185 316.3);
Tailwind
colors: {
  custom: {
    50: '#bd80d0',
    500: '#9d48bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d48bb;
$custom-light: #bd80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48bb",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 284.348,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.18514,
    "h": 316.3
  },
  "luminance": 0.15391
}

Semantic roles & 50–950 ramp

primary
#9D48BB
secondary
#A3C996
accent
#D55275
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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