#9D3DB7#9D3DB7

#9D3DB7 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.197 H 318.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9D3DB7
RGBrgb(157, 61, 183)
HSLhsl(287, 50%, 48%)
HSVhsv(287, 67%, 72%)
CMYKcmyk(14.2%, 66.7%, 0%, 28.2%)
CIE-LABlab(44.13, 57.39, -46.63)
CIE-LCHlch(44.13, 73.95, 320.90°)
OKLaboklab(54.33% 0.1468 -0.1306)
OKLCHoklch(54.33% 0.197 318.3)
XYZxyz(24.1194, 13.9255, 46.2080)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DB7 #57B73D
analogous
#603DB7 #9D3DB7 #B73D94
triadic
#9D3DB7 #B79D3D #3DB79D
tetradic
#9D3DB7 #B7603D #57B73D #3D94B7
square
#9D3DB7 #B7603D #57B73D #3D94B7
split-complementary
#9D3DB7 #94B73D #3DB760
monochromatic
#4E1E5B #762E89 #9D3DB7 #B665CC #CC93DB

Accessibility & contrast

On white

5.55
#9D3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9D3DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DB7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DB7#FFFFFF#000000##FFFFFF
##9D3DB71.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B62BB
Deuteranopia (green-blind)
#436BB4
Tritanopia (blue-blind)
#9D5375
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3db7;
/* rgb */ color: rgb(157, 61, 183);
/* oklch */ color: oklch(54.3% 0.197 318.3);
Tailwind
colors: {
  custom: {
    50: '#bd7acd',
    500: '#9d3db7',
    950: '#000000',
  },
}
SCSS
$custom: #9d3db7;
$custom-light: #bd7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3db7",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 287.213,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54325,
    "c": 0.19651,
    "h": 318.3
  },
  "luminance": 0.13924
}

Semantic roles & 50–950 ramp

primary
#9D3DB7
secondary
#96C689
accent
#DA4E6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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