#9D3CA5#9D3CA5

#9D3CA5 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.1% C 0.181 H 324.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9D3CA5
RGBrgb(157, 60, 165)
HSLhsl(295, 47%, 44%)
HSVhsv(295, 64%, 65%)
CMYKcmyk(4.8%, 63.6%, 0%, 35.3%)
CIE-LABlab(42.94, 54.39, -37.88)
CIE-LCHlch(42.94, 66.28, 325.14°)
OKLaboklab(53.14% 0.1479 -0.1051)
OKLCHoklch(53.14% 0.181 324.6)
XYZxyz(22.3115, 13.1177, 36.9468)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CA5 #44A53C
analogous
#693CA5 #9D3CA5 #A53C79
triadic
#9D3CA5 #A59D3C #3CA59D
tetradic
#9D3CA5 #A5693C #44A53C #3C79A5
square
#9D3CA5 #A5693C #44A53C #3C79A5
split-complementary
#9D3CA5 #79A53C #3CA569
monochromatic
#481B4B #722C78 #9D3CA5 #BB5BC3 #CE88D4

Accessibility & contrast

On white

5.80
#9D3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9D3CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CA5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CA5#FFFFFF#000000##FFFFFF
##9D3CA51.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#A04B6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d3ca5;
/* rgb */ color: rgb(157, 60, 165);
/* oklch */ color: oklch(53.1% 0.181 324.6);
Tailwind
colors: {
  custom: {
    50: '#bd79c0',
    500: '#9d3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ca5;
$custom-light: #bd79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ca5",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 295.429,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53136,
    "c": 0.18144,
    "h": 324.6
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#9D3CA5
secondary
#84BE7F
accent
#D6515C
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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