#9D2491#9D2491

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

Color values

HEX#9D2491
RGBrgb(157, 36, 145)
HSLhsl(306, 63%, 38%)
HSVhsv(306, 77%, 62%)
CMYKcmyk(0%, 77.1%, 7.6%, 38.4%)
CIE-LABlab(38.68, 59.93, -32.55)
CIE-LCHlch(38.68, 68.20, 331.49°)
OKLaboklab(49.72% 0.1726 -0.0895)
OKLCHoklch(49.72% 0.194 332.6)
XYZxyz(19.6464, 10.4759, 27.7699)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2491 #249D30
analogous
#6C249D #9D2491 #9D2455
triadic
#9D2491 #919D24 #24919D
tetradic
#9D2491 #9D6C24 #249D30 #24559D
square
#9D2491 #9D6C24 #249D30 #24559D
split-complementary
#9D2491 #559D24 #249D6C
monochromatic
#390D35 #6B1963 #9D2491 #CF2FBF #DB61CF

Accessibility & contrast

On white

6.79
#9D2491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D2491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2491
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2491#FFFFFF#000000##FFFFFF
##9D24911.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5094
Deuteranopia (green-blind)
#4D618E
Tritanopia (blue-blind)
#A43259
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2491;
/* rgb */ color: rgb(157, 36, 145);
/* oklch */ color: oklch(49.7% 0.194 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6db1',
    500: '#9d2491',
    950: '#000000',
  },
}
SCSS
$custom: #9d2491;
$custom-light: #be6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2491",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 305.95,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.19438,
    "h": 332.6
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#9D2491
secondary
#5DC067
accent
#E65242
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2491

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

Preview Lab → · Contrast checker → · Palette generator →

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