#9D3BB3#9D3BB3

#9D3BB3 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.9% C 0.195 H 319.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9D3BB3
RGBrgb(157, 59, 179)
HSLhsl(289, 50%, 47%)
HSVhsv(289, 67%, 70%)
CMYKcmyk(12.3%, 67%, 0%, 29.8%)
CIE-LABlab(43.58, 57.46, -45.15)
CIE-LCHlch(43.58, 73.07, 321.84°)
OKLaboklab(53.86% 0.1492 -0.1263)
OKLCHoklch(53.86% 0.195 319.8)
XYZxyz(23.6043, 13.5518, 44.0115)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BB3 #51B33B
analogous
#613BB3 #9D3BB3 #B33B8D
triadic
#9D3BB3 #B39D3B #3BB39D
tetradic
#9D3BB3 #B3613B #51B33B #3B8DB3
square
#9D3BB3 #B3613B #51B33B #3B8DB3
split-complementary
#9D3BB3 #8DB33B #3BB361
monochromatic
#4C1D57 #752C85 #9D3BB3 #B760CB #CC8EDA

Accessibility & contrast

On white

5.66
#9D3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9D3BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BB3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BB3#FFFFFF#000000##FFFFFF
##9D3BB31.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B7
Deuteranopia (green-blind)
#456AB0
Tritanopia (blue-blind)
#9D5072
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3bb3;
/* rgb */ color: rgb(157, 59, 179);
/* oklch */ color: oklch(53.9% 0.195 319.8);
Tailwind
colors: {
  custom: {
    50: '#bd79ca',
    500: '#9d3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bb3;
$custom-light: #bd79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bb3",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 289,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.19543,
    "h": 319.8
  },
  "luminance": 0.13551
}

Semantic roles & 50–950 ramp

primary
#9D3BB3
secondary
#91C585
accent
#DA4E68
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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