#9D2498#9D2498

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

Color values

HEX#9D2498
RGBrgb(157, 36, 152)
HSLhsl(302, 63%, 38%)
HSVhsv(302, 77%, 62%)
CMYKcmyk(0%, 77.1%, 3.2%, 38.4%)
CIE-LABlab(39.07, 61.04, -36.20)
CIE-LCHlch(39.07, 70.97, 329.33°)
OKLaboklab(50.12% 0.1727 -0.1)
OKLCHoklch(50.12% 0.2 329.9)
XYZxyz(20.2029, 10.6984, 30.7006)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2498 #249D29
analogous
#65249D #9D2498 #9D245C
triadic
#9D2498 #989D24 #24989D
tetradic
#9D2498 #9D6524 #249D29 #245C9D
square
#9D2498 #9D6524 #249D29 #245C9D
split-complementary
#9D2498 #5C9D24 #249D65
monochromatic
#390D38 #6B1968 #9D2498 #CF2FC8 #DB61D6

Accessibility & contrast

On white

6.69
#9D2498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9D2498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2498
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2498#FFFFFF#000000##FFFFFF
##9D24981.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529B
Deuteranopia (green-blind)
#496295
Tritanopia (blue-blind)
#A3365D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2498;
/* rgb */ color: rgb(157, 36, 152);
/* oklch */ color: oklch(50.1% 0.200 329.9);
Tailwind
colors: {
  custom: {
    50: '#be6db7',
    500: '#9d2498',
    950: '#000000',
  },
}
SCSS
$custom: #9d2498;
$custom-light: #be6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2498",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 302.479,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50118,
    "c": 0.19959,
    "h": 329.9
  },
  "luminance": 0.10697
}

Semantic roles & 50–950 ramp

primary
#9D2498
secondary
#5DC061
accent
#E64942
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2498

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

Preview Lab → · Contrast checker → · Palette generator →

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