#9D1A95#9D1A95

#9D1A95 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.206 H 331.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9D1A95
RGBrgb(157, 26, 149)
HSLhsl(304, 72%, 36%)
HSVhsv(304, 83%, 62%)
CMYKcmyk(0%, 83.4%, 5.1%, 38.4%)
CIE-LABlab(37.98, 63.21, -36.10)
CIE-LCHlch(37.98, 72.79, 330.27°)
OKLaboklab(49.29% 0.1803 -0.0997)
OKLCHoklch(49.29% 0.206 331.1)
XYZxyz(19.6988, 10.0785, 29.3358)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A95 #1A9D22
analogous
#631A9D #9D1A95 #9D1A53
triadic
#9D1A95 #959D1A #1A959D
tetradic
#9D1A95 #9D631A #1A9D22 #1A539D
square
#9D1A95 #9D631A #1A9D22 #1A539D
split-complementary
#9D1A95 #539D1A #1A9D63
monochromatic
#340931 #681163 #9D1A95 #D223C7 #E24FD9

Accessibility & contrast

On white

6.96
#9D1A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D1A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1A95
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A95#FFFFFF#000000##FFFFFF
##9D1A951.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024E98
Deuteranopia (green-blind)
#485F92
Tritanopia (blue-blind)
#A42E59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1a95;
/* rgb */ color: rgb(157, 26, 149);
/* oklch */ color: oklch(49.3% 0.206 331.1);
Tailwind
colors: {
  custom: {
    50: '#be6ab4',
    500: '#9d1a95',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a95;
$custom-light: #be6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a95",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 303.664,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.20606,
    "h": 331.1
  },
  "luminance": 0.10077
}

Semantic roles & 50–950 ramp

primary
#9D1A95
secondary
#4EC456
accent
#EE4539
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1A95

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

Preview Lab → · Contrast checker → · Palette generator →

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