#9D3CB3#9D3CB3

#9D3CB3 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.194 H 319.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9D3CB3
RGBrgb(157, 60, 179)
HSLhsl(289, 50%, 47%)
HSVhsv(289, 66%, 70%)
CMYKcmyk(12.3%, 66.5%, 0%, 29.8%)
CIE-LABlab(43.73, 57.03, -44.90)
CIE-LCHlch(43.73, 72.59, 321.79°)
OKLaboklab(53.97% 0.148 -0.1256)
OKLCHoklch(53.97% 0.194 319.7)
XYZxyz(23.6561, 13.6556, 44.0288)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CB3 #52B33C
analogous
#623CB3 #9D3CB3 #B33C8D
triadic
#9D3CB3 #B39D3C #3CB39D
tetradic
#9D3CB3 #B3623C #52B33C #3C8DB3
square
#9D3CB3 #B3623C #52B33C #3C8DB3
split-complementary
#9D3CB3 #8DB33C #3CB362
monochromatic
#4D1D57 #752D85 #9D3CB3 #B762CA #CC90DA

Accessibility & contrast

On white

5.63
#9D3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9D3CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CB3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CB3#FFFFFF#000000##FFFFFF
##9D3CB31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B7
Deuteranopia (green-blind)
#456BB0
Tritanopia (blue-blind)
#9D5172
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d3cb3;
/* rgb */ color: rgb(157, 60, 179);
/* oklch */ color: oklch(54.0% 0.194 319.7);
Tailwind
colors: {
  custom: {
    50: '#bd79ca',
    500: '#9d3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cb3;
$custom-light: #bd79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cb3",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 288.908,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53967,
    "c": 0.19412,
    "h": 319.7
  },
  "luminance": 0.13654
}

Semantic roles & 50–950 ramp

primary
#9D3CB3
secondary
#92C586
accent
#D94E68
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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