#9D3CA2#9D3CA2

#9D3CA2 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.0% C 0.179 H 325.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9D3CA2
RGBrgb(157, 60, 162)
HSLhsl(297, 46%, 44%)
HSVhsv(297, 63%, 64%)
CMYKcmyk(3.1%, 63%, 0%, 36.5%)
CIE-LABlab(42.78, 53.84, -36.34)
CIE-LCHlch(42.78, 64.95, 325.98°)
OKLaboklab(52.97% 0.1478 -0.1006)
OKLCHoklch(52.97% 0.179 325.7)
XYZxyz(22.0416, 13.0098, 35.5256)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CA2 #41A23C
analogous
#6A3CA2 #9D3CA2 #A23C74
triadic
#9D3CA2 #A29D3C #3CA29D
tetradic
#9D3CA2 #A26A3C #41A23C #3C74A2
square
#9D3CA2 #A26A3C #41A23C #3C74A2
split-complementary
#9D3CA2 #74A23C #3CA26A
monochromatic
#461B49 #722B75 #9D3CA2 #BD59C2 #CF86D2

Accessibility & contrast

On white

5.83
#9D3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9D3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CA2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CA2#FFFFFF#000000##FFFFFF
##9D3CA21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#A14A69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d3ca2;
/* rgb */ color: rgb(157, 60, 162);
/* oklch */ color: oklch(53.0% 0.179 325.7);
Tailwind
colors: {
  custom: {
    50: '#bd79be',
    500: '#9d3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ca2;
$custom-light: #bd79be;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ca2",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 297.059,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52966,
    "c": 0.17878,
    "h": 325.7
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

primary
#9D3CA2
secondary
#80BC7D
accent
#D65259
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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