#9D3296#9D3296

#9D3296 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.2% C 0.182 H 330.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9D3296
RGBrgb(157, 50, 150)
HSLhsl(304, 52%, 41%)
HSVhsv(304, 68%, 62%)
CMYKcmyk(0%, 68.2%, 4.5%, 38.4%)
CIE-LABlab(40.66, 55.88, -32.48)
CIE-LCHlch(40.66, 64.63, 329.84°)
OKLaboklab(51.23% 0.1588 -0.0894)
OKLCHoklch(51.23% 0.182 330.6)
XYZxyz(20.5502, 11.6529, 30.0151)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3296 #329D39
analogous
#6E329D #9D3296 #9D3260
triadic
#9D3296 #969D32 #32969D
tetradic
#9D3296 #9D6E32 #329D39 #32609D
square
#9D3296 #9D6E32 #329D39 #32609D
split-complementary
#9D3296 #609D32 #329D6E
monochromatic
#40143D #6F236A #9D3296 #C548BC #D376CD

Accessibility & contrast

On white

6.31
#9D3296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9D3296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3296
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3296#FFFFFF#000000##FFFFFF
##9D32961.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#A33E60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d3296;
/* rgb */ color: rgb(157, 50, 150);
/* oklch */ color: oklch(51.2% 0.182 330.6);
Tailwind
colors: {
  custom: {
    50: '#bd73b5',
    500: '#9d3296',
    950: '#000000',
  },
}
SCSS
$custom: #9d3296;
$custom-light: #bd73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3296",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 303.925,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51226,
    "c": 0.18218,
    "h": 330.6
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

primary
#9D3296
secondary
#6FBC74
accent
#DB564D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9D3296

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

Preview Lab → · Contrast checker → · Palette generator →

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