#9D3CB7#9D3CB7

#9D3CB7 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.198 H 318.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9D3CB7
RGBrgb(157, 60, 183)
HSLhsl(287, 51%, 48%)
HSVhsv(287, 67%, 72%)
CMYKcmyk(14.2%, 67.2%, 0%, 28.2%)
CIE-LABlab(43.97, 57.82, -46.88)
CIE-LCHlch(43.97, 74.43, 320.97°)
OKLaboklab(54.22% 0.1479 -0.1313)
OKLCHoklch(54.22% 0.198 318.4)
XYZxyz(24.0666, 13.8198, 46.1903)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CB7 #56B73C
analogous
#5F3CB7 #9D3CB7 #B73C93
triadic
#9D3CB7 #B79D3C #3CB79D
tetradic
#9D3CB7 #B75F3C #56B73C #3C93B7
square
#9D3CB7 #B75F3C #56B73C #3C93B7
split-complementary
#9D3CB7 #93B73C #3CB75F
monochromatic
#4E1E5B #752D89 #9D3CB7 #B664CC #CC92DB

Accessibility & contrast

On white

5.58
#9D3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9D3CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CB7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CB7#FFFFFF#000000##FFFFFF
##9D3CB71.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0662BB
Deuteranopia (green-blind)
#426BB4
Tritanopia (blue-blind)
#9D5375
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3cb7;
/* rgb */ color: rgb(157, 60, 183);
/* oklch */ color: oklch(54.2% 0.198 318.4);
Tailwind
colors: {
  custom: {
    50: '#bd79cd',
    500: '#9d3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cb7;
$custom-light: #bd79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cb7",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 287.317,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.19781,
    "h": 318.4
  },
  "luminance": 0.13819
}

Semantic roles & 50–950 ramp

primary
#9D3CB7
secondary
#95C688
accent
#DA4E6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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