#9D2496#9D2496

#9D2496 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.198 H 330.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9D2496
RGBrgb(157, 36, 150)
HSLhsl(303, 63%, 38%)
HSVhsv(303, 77%, 62%)
CMYKcmyk(0%, 77.1%, 4.5%, 38.4%)
CIE-LABlab(38.96, 60.72, -35.17)
CIE-LCHlch(38.96, 70.16, 329.92°)
OKLaboklab(50% 0.1727 -0.097)
OKLCHoklch(50% 0.198 330.7)
XYZxyz(20.0405, 10.6335, 29.8452)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2496 #249D2B
analogous
#67249D #9D2496 #9D2459
triadic
#9D2496 #969D24 #24969D
tetradic
#9D2496 #9D6724 #249D2B #24599D
square
#9D2496 #9D6724 #249D2B #24599D
split-complementary
#9D2496 #599D24 #249D67
monochromatic
#390D37 #6B1966 #9D2496 #CF2FC6 #DB61D4

Accessibility & contrast

On white

6.72
#9D2496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2496
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2496#FFFFFF#000000##FFFFFF
##9D24961.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155199
Deuteranopia (green-blind)
#4B6193
Tritanopia (blue-blind)
#A3355C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2496;
/* rgb */ color: rgb(157, 36, 150);
/* oklch */ color: oklch(50.0% 0.198 330.7);
Tailwind
colors: {
  custom: {
    50: '#be6db5',
    500: '#9d2496',
    950: '#000000',
  },
}
SCSS
$custom: #9d2496;
$custom-light: #be6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2496",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 303.471,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50003,
    "c": 0.19809,
    "h": 330.7
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#9D2496
secondary
#5DC063
accent
#E64C42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2496

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

Preview Lab → · Contrast checker → · Palette generator →

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