#9D3CA1#9D3CA1

#9D3CA1 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.9% C 0.178 H 326.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9D3CA1
RGBrgb(157, 60, 161)
HSLhsl(298, 46%, 43%)
HSVhsv(298, 63%, 63%)
CMYKcmyk(2.5%, 62.7%, 0%, 36.9%)
CIE-LABlab(42.72, 53.65, -35.83)
CIE-LCHlch(42.72, 64.52, 326.26°)
OKLaboklab(52.91% 0.1477 -0.0992)
OKLCHoklch(52.91% 0.178 326.1)
XYZxyz(21.9531, 12.9744, 35.0593)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CA1 #40A13C
analogous
#6A3CA1 #9D3CA1 #A13C72
triadic
#9D3CA1 #A19D3C #3CA19D
tetradic
#9D3CA1 #A16A3C #40A13C #3C72A1
square
#9D3CA1 #A16A3C #40A13C #3C72A1
split-complementary
#9D3CA1 #72A13C #3CA16A
monochromatic
#461B48 #722B74 #9D3CA1 #BD59C1 #CF86D2

Accessibility & contrast

On white

5.84
#9D3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9D3CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CA1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CA1#FFFFFF#000000##FFFFFF
##9D3CA11.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA4
Deuteranopia (green-blind)
#51699E
Tritanopia (blue-blind)
#A14A69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d3ca1;
/* rgb */ color: rgb(157, 60, 161);
/* oklch */ color: oklch(52.9% 0.178 326.1);
Tailwind
colors: {
  custom: {
    50: '#bd78bd',
    500: '#9d3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ca1;
$custom-light: #bd78bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ca1",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 297.624,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5291,
    "c": 0.1779,
    "h": 326.1
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#9D3CA1
secondary
#7FBC7D
accent
#D55258
background
#FBF7FB
surface
#F7EEF6
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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