#9D2D90#9D2D90

#9D2D90 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.184 H 333.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9D2D90
RGBrgb(157, 45, 144)
HSLhsl(307, 55%, 40%)
HSVhsv(307, 71%, 62%)
CMYKcmyk(0%, 71.3%, 8.3%, 38.4%)
CIE-LABlab(39.68, 56.78, -30.37)
CIE-LCHlch(39.68, 64.39, 331.86°)
OKLaboklab(50.42% 0.1638 -0.0833)
OKLCHoklch(50.42% 0.184 333)
XYZxyz(19.8772, 11.0601, 27.4681)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D90 #2D9D3A
analogous
#722D9D #9D2D90 #9D2D58
triadic
#9D2D90 #909D2D #2D909D
tetradic
#9D2D90 #9D722D #2D9D3A #2D589D
square
#9D2D90 #9D722D #2D9D3A #2D589D
split-complementary
#9D2D90 #589D2D #2D9D72
monochromatic
#3E1239 #6D1F64 #9D2D90 #C83FB8 #D66FCA

Accessibility & contrast

On white

6.54
#9D2D90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9D2D90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D90
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D90#FFFFFF#000000##FFFFFF
##9D2D901.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295393
Deuteranopia (green-blind)
#51638D
Tritanopia (blue-blind)
#A4385B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2d90;
/* rgb */ color: rgb(157, 45, 144);
/* oklch */ color: oklch(50.4% 0.184 333.0);
Tailwind
colors: {
  custom: {
    50: '#bd71b1',
    500: '#9d2d90',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d90;
$custom-light: #bd71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d90",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 306.964,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5042,
    "c": 0.18372,
    "h": 333
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#9D2D90
secondary
#69BD73
accent
#DF5A49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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