#9D3CB5#9D3CB5

#9D3CB5 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.1% C 0.196 H 319.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9D3CB5
RGBrgb(157, 60, 181)
HSLhsl(288, 50%, 47%)
HSVhsv(288, 67%, 71%)
CMYKcmyk(13.3%, 66.9%, 0%, 29%)
CIE-LABlab(43.85, 57.42, -45.89)
CIE-LCHlch(43.85, 73.51, 321.37°)
OKLaboklab(54.09% 0.148 -0.1284)
OKLCHoklch(54.09% 0.196 319)
XYZxyz(23.8599, 13.7371, 45.1018)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CB5 #54B53C
analogous
#613CB5 #9D3CB5 #B53C91
triadic
#9D3CB5 #B59D3C #3CB59D
tetradic
#9D3CB5 #B5613C #54B53C #3C91B5
square
#9D3CB5 #B5613C #54B53C #3C91B5
split-complementary
#9D3CB5 #91B53C #3CB561
monochromatic
#4D1E59 #752D87 #9D3CB5 #B763CB #CC91DB

Accessibility & contrast

On white

5.60
#9D3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9D3CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CB5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CB5#FFFFFF#000000##FFFFFF
##9D3CB51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B9
Deuteranopia (green-blind)
#446BB2
Tritanopia (blue-blind)
#9D5274
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3cb5;
/* rgb */ color: rgb(157, 60, 181);
/* oklch */ color: oklch(54.1% 0.196 319.0);
Tailwind
colors: {
  custom: {
    50: '#bd79cc',
    500: '#9d3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cb5;
$custom-light: #bd79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cb5",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 288.099,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.19597,
    "h": 319
  },
  "luminance": 0.13736
}

Semantic roles & 50–950 ramp

primary
#9D3CB5
secondary
#94C687
accent
#DA4E6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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