#9D49BB#9D49BB

#9D49BB is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.0% C 0.184 H 316.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9D49BB
RGBrgb(157, 73, 187)
HSLhsl(284, 46%, 51%)
HSVhsv(284, 61%, 73%)
CMYKcmyk(16%, 61%, 0%, 26.7%)
CIE-LABlab(46.34, 52.74, -45.44)
CIE-LCHlch(46.34, 69.61, 319.25°)
OKLaboklab(56% 0.1325 -0.1272)
OKLCHoklch(56% 0.184 316.2)
XYZxyz(25.2554, 15.5219, 48.6697)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D49BB #67BB49
analogous
#6449BB #9D49BB #BB49A0
triadic
#9D49BB #BB9D49 #49BB9D
tetradic
#9D49BB #BB6449 #67BB49 #49A0BB
square
#9D49BB #BB6449 #67BB49 #49A0BB
split-complementary
#9D49BB #A0BB49 #49BB64
monochromatic
#542564 #793691 #9D49BB #B576CC #CDA2DC

Accessibility & contrast

On white

5.12
#9D49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D49BB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D49BB#FFFFFF#000000##FFFFFF
##9D49BB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#9B5D7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d49bb;
/* rgb */ color: rgb(157, 73, 187);
/* oklch */ color: oklch(56.0% 0.184 316.2);
Tailwind
colors: {
  custom: {
    50: '#bd81d0',
    500: '#9d49bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d49bb;
$custom-light: #bd81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d49bb",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 284.211,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56001,
    "c": 0.18368,
    "h": 316.2
  },
  "luminance": 0.15521
}

Semantic roles & 50–950 ramp

primary
#9D49BB
secondary
#A4C997
accent
#D55375
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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