#9D2591#9D2591

#9D2591 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.193 H 332.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9D2591
RGBrgb(157, 37, 145)
HSLhsl(306, 62%, 38%)
HSVhsv(306, 76%, 62%)
CMYKcmyk(0%, 76.4%, 7.6%, 38.4%)
CIE-LABlab(38.79, 59.62, -32.38)
CIE-LCHlch(38.79, 67.85, 331.49°)
OKLaboklab(49.8% 0.1717 -0.089)
OKLCHoklch(49.8% 0.193 332.6)
XYZxyz(19.6771, 10.5372, 27.7801)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2591 #259D31
analogous
#6D259D #9D2591 #9D2555
triadic
#9D2591 #919D25 #25919D
tetradic
#9D2591 #9D6D25 #259D31 #25559D
square
#9D2591 #9D6D25 #259D31 #25559D
split-complementary
#9D2591 #559D25 #259D6D
monochromatic
#3A0E36 #6B1963 #9D2591 #CE31BF #DA62CE

Accessibility & contrast

On white

6.76
#9D2591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9D2591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2591
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2591#FFFFFF#000000##FFFFFF
##9D25911.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5094
Deuteranopia (green-blind)
#4E618E
Tritanopia (blue-blind)
#A43359
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2591;
/* rgb */ color: rgb(157, 37, 145);
/* oklch */ color: oklch(49.8% 0.193 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6db1',
    500: '#9d2591',
    950: '#000000',
  },
}
SCSS
$custom: #9d2591;
$custom-light: #be6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2591",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 306,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.19337,
    "h": 332.6
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#9D2591
secondary
#5EBF68
accent
#E55343
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2591

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

Preview Lab → · Contrast checker → · Palette generator →

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