#9D2289#9D2289

#9D2289 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.191 H 335.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9D2289
RGBrgb(157, 34, 137)
HSLhsl(310, 64%, 37%)
HSVhsv(310, 78%, 62%)
CMYKcmyk(0%, 78.3%, 12.7%, 38.4%)
CIE-LABlab(38.06, 59.31, -28.63)
CIE-LCHlch(38.06, 65.86, 334.23°)
OKLaboklab(49.13% 0.1739 -0.0782)
OKLCHoklch(49.13% 0.191 335.8)
XYZxyz(18.9923, 10.1201, 24.6152)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2289 #229D36
analogous
#73229D #9D2289 #9D224C
triadic
#9D2289 #899D22 #22899D
tetradic
#9D2289 #9D7322 #229D36 #224C9D
square
#9D2289 #9D7322 #229D36 #224C9D
split-complementary
#9D2289 #4C9D22 #229D73
monochromatic
#380C31 #6B175D #9D2289 #CF2DB5 #DC5DC7

Accessibility & contrast

On white

6.95
#9D2289 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D2289 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2289
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2289#FFFFFF#000000##FFFFFF
##9D22891.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8C
Deuteranopia (green-blind)
#506086
Tritanopia (blue-blind)
#A52C54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2289;
/* rgb */ color: rgb(157, 34, 137);
/* oklch */ color: oklch(49.1% 0.191 335.8);
Tailwind
colors: {
  custom: {
    50: '#be6cac',
    500: '#9d2289',
    950: '#000000',
  },
}
SCSS
$custom: #9d2289;
$custom-light: #be6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2289",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 309.756,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49134,
    "c": 0.19065,
    "h": 335.8
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#9D2289
secondary
#5AC16B
accent
#E75C40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2289

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

Preview Lab → · Contrast checker → · Palette generator →

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