#9D3DB2#9D3DB2

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

Color values

HEX#9D3DB2
RGBrgb(157, 61, 178)
HSLhsl(289, 49%, 47%)
HSVhsv(289, 66%, 70%)
CMYKcmyk(11.8%, 65.7%, 0%, 30.2%)
CIE-LABlab(43.83, 56.41, -44.16)
CIE-LCHlch(43.83, 71.64, 321.94°)
OKLaboklab(54.02% 0.1469 -0.1234)
OKLCHoklch(54.02% 0.192 320)
XYZxyz(23.6083, 13.7211, 43.5157)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DB2 #52B23D
analogous
#633DB2 #9D3DB2 #B23D8D
triadic
#9D3DB2 #B29D3D #3DB29D
tetradic
#9D3DB2 #B2633D #52B23D #3D8DB2
square
#9D3DB2 #B2633D #52B23D #3D8DB2
split-complementary
#9D3DB2 #8DB23D #3DB263
monochromatic
#4D1E57 #752D84 #9D3DB2 #B763C9 #CC90D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D3DB2#FFFFFF#000000##FFFFFF
##9D3DB21.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)
#1861B5
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#9E5172
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3db2;
/* rgb */ color: rgb(157, 61, 178);
/* oklch */ color: oklch(54.0% 0.192 320.0);
Tailwind
colors: {
  custom: {
    50: '#bd7ac9',
    500: '#9d3db2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3db2;
$custom-light: #bd7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3db2",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 289.231,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.19187,
    "h": 320
  },
  "luminance": 0.1372
}

Semantic roles & 50–950 ramp

primary
#9D3DB2
secondary
#92C487
accent
#D94F68
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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