#9D5095#9D5095

#9D5095 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 54.9% C 0.135 H 331.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9D5095
RGBrgb(157, 80, 149)
HSLhsl(306, 32%, 46%)
HSVhsv(306, 49%, 62%)
CMYKcmyk(0%, 49%, 5.1%, 38.4%)
CIE-LABlab(45.74, 41.80, -23.94)
CIE-LCHlch(45.74, 48.17, 330.20°)
OKLaboklab(54.94% 0.1187 -0.0652)
OKLCHoklch(54.94% 0.135 331.2)
XYZxyz(22.1979, 15.0767, 30.1688)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5095 #509D58
analogous
#7F509D #9D5095 #9D506F
triadic
#9D5095 #959D50 #50959D
tetradic
#9D5095 #9D7F50 #509D58 #506F9D
square
#9D5095 #9D7F50 #509D58 #506F9D
split-complementary
#9D5095 #6F9D50 #509D7F
monochromatic
#4C2748 #743B6F #9D5095 #B873B0 #CC9BC7

Accessibility & contrast

On white

5.23
#9D5095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9D5095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D5095
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5095#FFFFFF#000000##FFFFFF
##9D50951.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6697
Deuteranopia (green-blind)
#637093
Tritanopia (blue-blind)
#A2566B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d5095;
/* rgb */ color: rgb(157, 80, 149);
/* oklch */ color: oklch(54.9% 0.135 331.2);
Tailwind
colors: {
  custom: {
    50: '#bc84b4',
    500: '#9d5095',
    950: '#000000',
  },
}
SCSS
$custom: #9d5095;
$custom-light: #bc84b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5095",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 306.234,
    "s": 32.489,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54935,
    "c": 0.13541,
    "h": 331.2
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#9D5095
secondary
#90B994
accent
#C96A5F
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9D5095

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

Preview Lab → · Contrast checker → · Palette generator →

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