#9D2D91#9D2D91

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

Color values

HEX#9D2D91
RGBrgb(157, 45, 145)
HSLhsl(306, 55%, 40%)
HSVhsv(306, 71%, 62%)
CMYKcmyk(0%, 71.3%, 7.6%, 38.4%)
CIE-LABlab(39.73, 56.94, -30.90)
CIE-LCHlch(39.73, 64.78, 331.51°)
OKLaboklab(50.47% 0.1638 -0.0848)
OKLCHoklch(50.47% 0.184 332.6)
XYZxyz(19.9539, 11.0908, 27.8724)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D91 #2D9D39
analogous
#712D9D #9D2D91 #9D2D59
triadic
#9D2D91 #919D2D #2D919D
tetradic
#9D2D91 #9D712D #2D9D39 #2D599D
square
#9D2D91 #9D712D #2D9D39 #2D599D
split-complementary
#9D2D91 #599D2D #2D9D71
monochromatic
#3E1239 #6D1F65 #9D2D91 #C83FB9 #D66FCB

Accessibility & contrast

On white

6.53
#9D2D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9D2D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D91
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D91#FFFFFF#000000##FFFFFF
##9D2D911.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285394
Deuteranopia (green-blind)
#51638E
Tritanopia (blue-blind)
#A4385B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2d91;
/* rgb */ color: rgb(157, 45, 145);
/* oklch */ color: oklch(50.5% 0.184 332.6);
Tailwind
colors: {
  custom: {
    50: '#bd71b1',
    500: '#9d2d91',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d91;
$custom-light: #bd71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d91",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 306.429,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50474,
    "c": 0.18448,
    "h": 332.6
  },
  "luminance": 0.11089
}

Semantic roles & 50–950 ramp

primary
#9D2D91
secondary
#69BD72
accent
#DF5949
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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