#9D3CB9#9D3CB9

#9D3CB9 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.200 H 317.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9D3CB9
RGBrgb(157, 60, 185)
HSLhsl(287, 51%, 48%)
HSVhsv(287, 68%, 73%)
CMYKcmyk(15.1%, 67.6%, 0%, 27.5%)
CIE-LABlab(44.09, 58.21, -47.85)
CIE-LCHlch(44.09, 75.36, 320.58°)
OKLaboklab(54.34% 0.1479 -0.1342)
OKLCHoklch(54.34% 0.2 317.8)
XYZxyz(24.2762, 13.9036, 47.2944)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CB9 #58B93C
analogous
#5E3CB9 #9D3CB9 #B93C96
triadic
#9D3CB9 #B99D3C #3CB99D
tetradic
#9D3CB9 #B95E3C #58B93C #3C96B9
square
#9D3CB9 #B95E3C #58B93C #3C96B9
split-complementary
#9D3CB9 #96B93C #3CB95E
monochromatic
#4F1E5D #762D8B #9D3CB9 #B665CD #CC93DC

Accessibility & contrast

On white

5.55
#9D3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9D3CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CB9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CB9#FFFFFF#000000##FFFFFF
##9D3CB91.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#416BB6
Tritanopia (blue-blind)
#9C5376
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3cb9;
/* rgb */ color: rgb(157, 60, 185);
/* oklch */ color: oklch(54.3% 0.200 317.8);
Tailwind
colors: {
  custom: {
    50: '#bd79cf',
    500: '#9d3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cb9;
$custom-light: #bd79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cb9",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 286.56,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54341,
    "c": 0.19967,
    "h": 317.8
  },
  "luminance": 0.13903
}

Semantic roles & 50–950 ramp

primary
#9D3CB9
secondary
#97C789
accent
#DA4D6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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