#9D48AF#9D48AF

#9D48AF is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.2% C 0.173 H 320.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9D48AF
RGBrgb(157, 72, 175)
HSLhsl(290, 42%, 48%)
HSVhsv(290, 59%, 69%)
CMYKcmyk(10.3%, 58.9%, 0%, 31.4%)
CIE-LABlab(45.50, 50.78, -39.75)
CIE-LCHlch(45.50, 64.49, 321.95°)
OKLaboklab(55.17% 0.1334 -0.1106)
OKLCHoklch(55.17% 0.173 320.3)
XYZxyz(23.9589, 14.8990, 42.1629)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48AF #5AAF48
analogous
#6A48AF #9D48AF #AF488D
triadic
#9D48AF #AF9D48 #48AF9D
tetradic
#9D48AF #AF6A48 #5AAF48 #488DAF
square
#9D48AF #AF6A48 #5AAF48 #488DAF
split-complementary
#9D48AF #8DAF48 #48AF6A
monochromatic
#4F2458 #763684 #9D48AF #B570C4 #CC9BD6

Accessibility & contrast

On white

5.28
#9D48AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9D48AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48AF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48AF#FFFFFF#000000##FFFFFF
##9D48AF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#516FAC
Tritanopia (blue-blind)
#9E5875
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d48af;
/* rgb */ color: rgb(157, 72, 175);
/* oklch */ color: oklch(55.2% 0.173 320.3);
Tailwind
colors: {
  custom: {
    50: '#bd80c7',
    500: '#9d48af',
    950: '#000000',
  },
}
SCSS
$custom: #9d48af;
$custom-light: #bd80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48af",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 289.515,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.17326,
    "h": 320.3
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#9D48AF
secondary
#99C290
accent
#D2566C
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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