#9D3CA6#9D3CA6

#9D3CA6 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.2% C 0.182 H 324.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9D3CA6
RGBrgb(157, 60, 166)
HSLhsl(295, 47%, 44%)
HSVhsv(295, 64%, 65%)
CMYKcmyk(5.4%, 63.9%, 0%, 34.9%)
CIE-LABlab(42.99, 54.57, -38.39)
CIE-LCHlch(42.99, 66.72, 324.88°)
OKLaboklab(53.19% 0.1479 -0.1066)
OKLCHoklch(53.19% 0.182 324.2)
XYZxyz(22.4028, 13.1543, 37.4280)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CA6 #45A63C
analogous
#683CA6 #9D3CA6 #A63C7A
triadic
#9D3CA6 #A69D3C #3CA69D
tetradic
#9D3CA6 #A6683C #45A63C #3C7AA6
square
#9D3CA6 #A6683C #45A63C #3C7AA6
split-complementary
#9D3CA6 #7AA63C #3CA668
monochromatic
#481C4C #722C79 #9D3CA6 #BB5BC4 #CE88D4

Accessibility & contrast

On white

5.78
#9D3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9D3CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CA6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CA6#FFFFFF#000000##FFFFFF
##9D3CA61.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA9
Deuteranopia (green-blind)
#4E6AA3
Tritanopia (blue-blind)
#A04C6C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d3ca6;
/* rgb */ color: rgb(157, 60, 166);
/* oklch */ color: oklch(53.2% 0.182 324.2);
Tailwind
colors: {
  custom: {
    50: '#bd79c1',
    500: '#9d3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ca6;
$custom-light: #bd79c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ca6",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 294.906,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.18233,
    "h": 324.2
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#9D3CA6
secondary
#85BE7F
accent
#D7515D
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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