#9D2389#9D2389

#9D2389 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.190 H 335.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9D2389
RGBrgb(157, 35, 137)
HSLhsl(310, 64%, 38%)
HSVhsv(310, 78%, 62%)
CMYKcmyk(0%, 77.7%, 12.7%, 38.4%)
CIE-LABlab(38.16, 59.01, -28.47)
CIE-LCHlch(38.16, 65.52, 334.24°)
OKLaboklab(49.21% 0.173 -0.0777)
OKLCHoklch(49.21% 0.19 335.8)
XYZxyz(19.0213, 10.1781, 24.6248)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2389 #239D37
analogous
#74239D #9D2389 #9D234C
triadic
#9D2389 #899D23 #23899D
tetradic
#9D2389 #9D7423 #239D37 #234C9D
square
#9D2389 #9D7423 #239D37 #234C9D
split-complementary
#9D2389 #4C9D23 #239D74
monochromatic
#390D32 #6B185D #9D2389 #CF2EB5 #DB5FC7

Accessibility & contrast

On white

6.92
#9D2389 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9D2389 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2389
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2389#FFFFFF#000000##FFFFFF
##9D23891.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8C
Deuteranopia (green-blind)
#516086
Tritanopia (blue-blind)
#A52D54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2389;
/* rgb */ color: rgb(157, 35, 137);
/* oklch */ color: oklch(49.2% 0.190 335.8);
Tailwind
colors: {
  custom: {
    50: '#be6cac',
    500: '#9d2389',
    950: '#000000',
  },
}
SCSS
$custom: #9d2389;
$custom-light: #be6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2389",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 309.836,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.18966,
    "h": 335.8
  },
  "luminance": 0.10176
}

Semantic roles & 50–950 ramp

primary
#9D2389
secondary
#5CC06C
accent
#E75C41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2389

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

Preview Lab → · Contrast checker → · Palette generator →

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