#9D3097#9D3097

#9D3097 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.185 H 330.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9D3097
RGBrgb(157, 48, 151)
HSLhsl(303, 53%, 40%)
HSVhsv(303, 69%, 62%)
CMYKcmyk(0%, 69.4%, 3.8%, 38.4%)
CIE-LABlab(40.44, 56.81, -33.43)
CIE-LCHlch(40.44, 65.92, 329.53°)
OKLaboklab(51.09% 0.161 -0.0921)
OKLCHoklch(51.09% 0.186 330.2)
XYZxyz(20.5474, 11.5179, 30.4131)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3097 #309D36
analogous
#6D309D #9D3097 #9D3060
triadic
#9D3097 #979D30 #30979D
tetradic
#9D3097 #9D6D30 #309D36 #30609D
square
#9D3097 #9D6D30 #309D36 #30609D
split-complementary
#9D3097 #609D30 #309D6D
monochromatic
#3F133D #6E226A #9D3097 #C644BF #D473CF

Accessibility & contrast

On white

6.36
#9D3097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9D3097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3097
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3097#FFFFFF#000000##FFFFFF
##9D30971.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#4F6594
Tritanopia (blue-blind)
#A33D60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d3097;
/* rgb */ color: rgb(157, 48, 151);
/* oklch */ color: oklch(51.1% 0.185 330.2);
Tailwind
colors: {
  custom: {
    50: '#bd72b6',
    500: '#9d3097',
    950: '#000000',
  },
}
SCSS
$custom: #9d3097;
$custom-light: #bd72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3097",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 303.303,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51085,
    "c": 0.1855,
    "h": 330.2
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#9D3097
secondary
#6DBC71
accent
#DD534B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9D3097

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

Preview Lab → · Contrast checker → · Palette generator →

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