#9D3BB9#9D3BB9

#9D3BB9 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.2% C 0.201 H 317.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9D3BB9
RGBrgb(157, 59, 185)
HSLhsl(287, 52%, 48%)
HSVhsv(287, 68%, 73%)
CMYKcmyk(15.1%, 68.1%, 0%, 27.5%)
CIE-LABlab(43.94, 58.63, -48.09)
CIE-LCHlch(43.94, 75.83, 320.64°)
OKLaboklab(54.23% 0.149 -0.1349)
OKLCHoklch(54.23% 0.201 317.8)
XYZxyz(24.2243, 13.7998, 47.2772)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BB9 #57B93B
analogous
#5E3BB9 #9D3BB9 #B93B96
triadic
#9D3BB9 #B99D3B #3BB99D
tetradic
#9D3BB9 #B95E3B #57B93B #3B96B9
square
#9D3BB9 #B95E3B #57B93B #3B96B9
split-complementary
#9D3BB9 #96B93B #3BB95E
monochromatic
#4E1D5C #762C8B #9D3BB9 #B664CD #CC92DC

Accessibility & contrast

On white

5.59
#9D3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9D3BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BB9
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BB9#FFFFFF#000000##FFFFFF
##9D3BB91.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#406BB6
Tritanopia (blue-blind)
#9C5375
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3bb9;
/* rgb */ color: rgb(157, 59, 185);
/* oklch */ color: oklch(54.2% 0.201 317.8);
Tailwind
colors: {
  custom: {
    50: '#bd79cf',
    500: '#9d3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bb9;
$custom-light: #bd79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bb9",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 286.667,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.20094,
    "h": 317.8
  },
  "luminance": 0.13799
}

Semantic roles & 50–950 ramp

primary
#9D3BB9
secondary
#96C788
accent
#DB4D6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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