#9D3499#9D3499

#9D3499 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.182 H 329.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9D3499
RGBrgb(157, 52, 153)
HSLhsl(302, 50%, 41%)
HSVhsv(302, 67%, 62%)
CMYKcmyk(0%, 66.9%, 2.5%, 38.4%)
CIE-LABlab(41.10, 55.60, -33.60)
CIE-LCHlch(41.10, 64.96, 328.85°)
OKLaboklab(51.59% 0.1567 -0.0926)
OKLCHoklch(51.59% 0.182 329.4)
XYZxyz(20.8822, 11.9255, 31.3328)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3499 #349D38
analogous
#6C349D #9D3499 #9D3464
triadic
#9D3499 #999D34 #34999D
tetradic
#9D3499 #9D6C34 #349D38 #34649D
square
#9D3499 #9D6C34 #349D38 #34649D
split-complementary
#9D3499 #649D34 #349D6C
monochromatic
#41163F #6F256C #9D3499 #C34BBF #D379CF

Accessibility & contrast

On white

6.20
#9D3499 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9D3499 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3499
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3499#FFFFFF#000000##FFFFFF
##9D34991.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#A24162
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d3499;
/* rgb */ color: rgb(157, 52, 153);
/* oklch */ color: oklch(51.6% 0.182 329.4);
Tailwind
colors: {
  custom: {
    50: '#bd74b7',
    500: '#9d3499',
    950: '#000000',
  },
}
SCSS
$custom: #9d3499;
$custom-light: #bd74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3499",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 302.286,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.18201,
    "h": 329.4
  },
  "luminance": 0.11924
}

Semantic roles & 50–950 ramp

primary
#9D3499
secondary
#72BB74
accent
#DA534E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9D3499

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

Preview Lab → · Contrast checker → · Palette generator →

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