#9D48BF#9D48BF

#9D48BF is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.1% C 0.189 H 315.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9D48BF
RGBrgb(157, 72, 191)
HSLhsl(283, 48%, 52%)
HSVhsv(283, 62%, 75%)
CMYKcmyk(17.8%, 62.3%, 0%, 25.1%)
CIE-LABlab(46.40, 54.04, -47.67)
CIE-LCHlch(46.40, 72.06, 318.58°)
OKLaboklab(56.12% 0.1338 -0.1337)
OKLCHoklch(56.12% 0.189 315)
XYZxyz(25.6245, 15.5653, 50.9347)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48BF #6ABF48
analogous
#6248BF #9D48BF #BF48A6
triadic
#9D48BF #BF9D48 #48BF9D
tetradic
#9D48BF #BF6248 #6ABF48 #48A6BF
square
#9D48BF #BF6248 #6ABF48 #48A6BF
split-complementary
#9D48BF #A6BF48 #48BF62
monochromatic
#552468 #7A3496 #9D48BF #B575CF #CEA3DF

Accessibility & contrast

On white

5.11
#9D48BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9D48BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48BF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48BF#FFFFFF#000000##FFFFFF
##9D48BF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E69C3
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#9A5E7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d48bf;
/* rgb */ color: rgb(157, 72, 191);
/* oklch */ color: oklch(56.1% 0.189 315.0);
Tailwind
colors: {
  custom: {
    50: '#bd80d3',
    500: '#9d48bf',
    950: '#000000',
  },
}
SCSS
$custom: #9d48bf;
$custom-light: #bd80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48bf",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 282.857,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.18914,
    "h": 315
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

primary
#9D48BF
secondary
#A6CC97
accent
#D85077
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9D48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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