#9D3BB7#9D3BB7

#9D3BB7 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.1% C 0.199 H 318.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9D3BB7
RGBrgb(157, 59, 183)
HSLhsl(287, 51%, 47%)
HSVhsv(287, 68%, 72%)
CMYKcmyk(14.2%, 67.8%, 0%, 28.2%)
CIE-LABlab(43.82, 58.24, -47.12)
CIE-LCHlch(43.82, 74.91, 321.03°)
OKLaboklab(54.11% 0.149 -0.132)
OKLCHoklch(54.11% 0.199 318.5)
XYZxyz(24.0147, 13.7160, 46.1730)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BB7 #55B73B
analogous
#5F3BB7 #9D3BB7 #B73B93
triadic
#9D3BB7 #B79D3B #3BB79D
tetradic
#9D3BB7 #B75F3B #55B73B #3B93B7
square
#9D3BB7 #B75F3B #55B73B #3B93B7
split-complementary
#9D3BB7 #93B73B #3BB75F
monochromatic
#4E1D5A #752C89 #9D3BB7 #B663CD #CC91DC

Accessibility & contrast

On white

5.61
#9D3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9D3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BB7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BB7#FFFFFF#000000##FFFFFF
##9D3BB71.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0161BB
Deuteranopia (green-blind)
#416BB4
Tritanopia (blue-blind)
#9D5274
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3bb7;
/* rgb */ color: rgb(157, 59, 183);
/* oklch */ color: oklch(54.1% 0.199 318.5);
Tailwind
colors: {
  custom: {
    50: '#bd79cd',
    500: '#9d3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9d3bb7;
$custom-light: #bd79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3bb7",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 287.419,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54107,
    "c": 0.1991,
    "h": 318.5
  },
  "luminance": 0.13715
}

Semantic roles & 50–950 ramp

primary
#9D3BB7
secondary
#95C687
accent
#DB4D6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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