#9D2C91#9D2C91

#9D2C91 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.186 H 332.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9D2C91
RGBrgb(157, 44, 145)
HSLhsl(306, 56%, 39%)
HSVhsv(306, 72%, 62%)
CMYKcmyk(0%, 72%, 7.6%, 38.4%)
CIE-LABlab(39.61, 57.30, -31.10)
CIE-LCHlch(39.61, 65.19, 331.51°)
OKLaboklab(50.38% 0.1649 -0.0853)
OKLCHoklch(50.38% 0.186 332.6)
XYZxyz(19.9162, 11.0154, 27.8598)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C91 #2C9D38
analogous
#712C9D #9D2C91 #9D2C58
triadic
#9D2C91 #919D2C #2C919D
tetradic
#9D2C91 #9D712C #2C9D38 #2C589D
square
#9D2C91 #9D712C #2C9D38 #2C589D
split-complementary
#9D2C91 #589D2C #2C9D71
monochromatic
#3D1139 #6D1F65 #9D2C91 #C93DBA #D66DCB

Accessibility & contrast

On white

6.56
#9D2C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9D2C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C91
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C91#FFFFFF#000000##FFFFFF
##9D2C911.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#50638E
Tritanopia (blue-blind)
#A4375B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2c91;
/* rgb */ color: rgb(157, 44, 145);
/* oklch */ color: oklch(50.4% 0.186 332.6);
Tailwind
colors: {
  custom: {
    50: '#bd70b1',
    500: '#9d2c91',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c91;
$custom-light: #bd70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c91",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 306.372,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50382,
    "c": 0.18567,
    "h": 332.6
  },
  "luminance": 0.11014
}

Semantic roles & 50–950 ramp

primary
#9D2C91
secondary
#68BD71
accent
#E05848
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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