#9D3CB2#9D3CB2

#9D3CB2 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.9% C 0.193 H 320.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9D3CB2
RGBrgb(157, 60, 178)
HSLhsl(289, 50%, 47%)
HSVhsv(289, 66%, 70%)
CMYKcmyk(11.8%, 66.3%, 0%, 30.2%)
CIE-LABlab(43.68, 56.84, -44.41)
CIE-LCHlch(43.68, 72.13, 322.00°)
OKLaboklab(53.91% 0.1481 -0.1241)
OKLCHoklch(53.91% 0.193 320)
XYZxyz(23.5554, 13.6153, 43.4981)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CB2 #51B23C
analogous
#623CB2 #9D3CB2 #B23C8C
triadic
#9D3CB2 #B29D3C #3CB29D
tetradic
#9D3CB2 #B2623C #51B23C #3C8CB2
square
#9D3CB2 #B2623C #51B23C #3C8CB2
split-complementary
#9D3CB2 #8CB23C #3CB262
monochromatic
#4C1D56 #752D84 #9D3CB2 #B761CA #CC8FD9

Accessibility & contrast

On white

5.64
#9D3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9D3CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CB2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CB2#FFFFFF#000000##FFFFFF
##9D3CB21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1561B5
Deuteranopia (green-blind)
#466BAF
Tritanopia (blue-blind)
#9E5172
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3cb2;
/* rgb */ color: rgb(157, 60, 178);
/* oklch */ color: oklch(53.9% 0.193 320.0);
Tailwind
colors: {
  custom: {
    50: '#bd79c9',
    500: '#9d3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cb2;
$custom-light: #bd79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cb2",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 289.322,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53905,
    "c": 0.19321,
    "h": 320
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#9D3CB2
secondary
#91C486
accent
#D94F67
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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