#9D3CB0#9D3CB0

#9D3CB0 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.191 H 320.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9D3CB0
RGBrgb(157, 60, 176)
HSLhsl(290, 49%, 46%)
HSVhsv(290, 66%, 69%)
CMYKcmyk(10.8%, 65.9%, 0%, 31%)
CIE-LABlab(43.56, 56.46, -43.42)
CIE-LCHlch(43.56, 71.22, 322.44°)
OKLaboklab(53.78% 0.1481 -0.1212)
OKLCHoklch(53.78% 0.191 320.7)
XYZxyz(23.3560, 13.5356, 42.4483)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CB0 #4FB03C
analogous
#633CB0 #9D3CB0 #B03C89
triadic
#9D3CB0 #B09D3C #3CB09D
tetradic
#9D3CB0 #B0633C #4FB03C #3C89B0
square
#9D3CB0 #B0633C #4FB03C #3C89B0
split-complementary
#9D3CB0 #89B03C #3CB063
monochromatic
#4C1D55 #742C82 #9D3CB0 #B860C9 #CC8ED8

Accessibility & contrast

On white

5.67
#9D3CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9D3CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CB0
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CB0#FFFFFF#000000##FFFFFF
##9D3CB01.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1960B3
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#9E5071
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3cb0;
/* rgb */ color: rgb(157, 60, 176);
/* oklch */ color: oklch(53.8% 0.191 320.7);
Tailwind
colors: {
  custom: {
    50: '#bd79c8',
    500: '#9d3cb0',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cb0;
$custom-light: #bd79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cb0",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 290.172,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.19138,
    "h": 320.7
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#9D3CB0
secondary
#8FC385
accent
#D94F66
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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