#9D49BA#9D49BA

#9D49BA is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.9% C 0.183 H 316.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9D49BA
RGBrgb(157, 73, 186)
HSLhsl(285, 45%, 51%)
HSVhsv(285, 61%, 73%)
CMYKcmyk(15.6%, 60.8%, 0%, 27.1%)
CIE-LABlab(46.28, 52.53, -44.94)
CIE-LCHlch(46.28, 69.13, 319.45°)
OKLaboklab(55.94% 0.1325 -0.1258)
OKLCHoklch(55.94% 0.183 316.5)
XYZxyz(25.1488, 15.4793, 48.1079)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D49BA #66BA49
analogous
#6449BA #9D49BA #BA499E
triadic
#9D49BA #BA9D49 #49BA9D
tetradic
#9D49BA #BA6449 #66BA49 #499EBA
square
#9D49BA #BA6449 #66BA49 #499EBA
split-complementary
#9D49BA #9EBA49 #49BA64
monochromatic
#532663 #79368F #9D49BA #B575CB #CDA2DC

Accessibility & contrast

On white

5.13
#9D49BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9D49BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D49BA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D49BA#FFFFFF#000000##FFFFFF
##9D49BA1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2868BE
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#9C5C7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d49ba;
/* rgb */ color: rgb(157, 73, 186);
/* oklch */ color: oklch(55.9% 0.183 316.5);
Tailwind
colors: {
  custom: {
    50: '#bd80cf',
    500: '#9d49ba',
    950: '#000000',
  },
}
SCSS
$custom: #9d49ba;
$custom-light: #bd80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d49ba",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 284.602,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.18267,
    "h": 316.5
  },
  "luminance": 0.15478
}

Semantic roles & 50–950 ramp

primary
#9D49BA
secondary
#A3C896
accent
#D55374
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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