#9D2A91#9D2A91

#9D2A91 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.188 H 332.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9D2A91
RGBrgb(157, 42, 145)
HSLhsl(306, 58%, 39%)
HSVhsv(306, 73%, 62%)
CMYKcmyk(0%, 73.2%, 7.6%, 38.4%)
CIE-LABlab(39.36, 57.99, -31.48)
CIE-LCHlch(39.36, 65.99, 331.50°)
OKLaboklab(50.21% 0.1669 -0.0864)
OKLCHoklch(50.21% 0.188 332.6)
XYZxyz(19.8435, 10.8700, 27.8356)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A91 #2A9D36
analogous
#702A9D #9D2A91 #9D2A58
triadic
#9D2A91 #919D2A #2A919D
tetradic
#9D2A91 #9D702A #2A9D36 #2A589D
square
#9D2A91 #9D702A #2A9D36 #2A589D
split-complementary
#9D2A91 #589D2A #2A9D70
monochromatic
#3C1038 #6D1D64 #9D2A91 #CA3ABB #D76ACC

Accessibility & contrast

On white

6.62
#9D2A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9D2A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A91
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A91#FFFFFF#000000##FFFFFF
##9D2A911.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245294
Deuteranopia (green-blind)
#50628E
Tritanopia (blue-blind)
#A4365B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2a91;
/* rgb */ color: rgb(157, 42, 145);
/* oklch */ color: oklch(50.2% 0.188 332.6);
Tailwind
colors: {
  custom: {
    50: '#bd6fb1',
    500: '#9d2a91',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a91;
$custom-light: #bd6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a91",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 306.261,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50205,
    "c": 0.18798,
    "h": 332.6
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

primary
#9D2A91
secondary
#65BE6E
accent
#E15747
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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