#9D2497#9D2497

#9D2497 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.199 H 330.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9D2497
RGBrgb(157, 36, 151)
HSLhsl(303, 63%, 38%)
HSVhsv(303, 77%, 62%)
CMYKcmyk(0%, 77.1%, 3.8%, 38.4%)
CIE-LABlab(39.01, 60.88, -35.68)
CIE-LCHlch(39.01, 70.56, 329.62°)
OKLaboklab(50.06% 0.1727 -0.0985)
OKLCHoklch(50.06% 0.199 330.3)
XYZxyz(20.1213, 10.6658, 30.2711)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2497 #249D2A
analogous
#66249D #9D2497 #9D245B
triadic
#9D2497 #979D24 #24979D
tetradic
#9D2497 #9D6624 #249D2A #245B9D
square
#9D2497 #9D6624 #249D2A #245B9D
split-complementary
#9D2497 #5B9D24 #249D66
monochromatic
#390D37 #6B1967 #9D2497 #CF2FC7 #DB61D5

Accessibility & contrast

On white

6.70
#9D2497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9D2497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2497
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2497#FFFFFF#000000##FFFFFF
##9D24971.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#4A6294
Tritanopia (blue-blind)
#A3355C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2497;
/* rgb */ color: rgb(157, 36, 151);
/* oklch */ color: oklch(50.1% 0.199 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6db6',
    500: '#9d2497',
    950: '#000000',
  },
}
SCSS
$custom: #9d2497;
$custom-light: #be6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2497",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 302.975,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5006,
    "c": 0.19883,
    "h": 330.3
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#9D2497
secondary
#5DC062
accent
#E64A42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2497

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

Preview Lab → · Contrast checker → · Palette generator →

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