#9D288D#9D288D

#9D288D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.187 H 334.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9D288D
RGBrgb(157, 40, 141)
HSLhsl(308, 59%, 39%)
HSVhsv(308, 75%, 62%)
CMYKcmyk(0%, 74.5%, 10.2%, 38.4%)
CIE-LABlab(38.92, 58.04, -29.74)
CIE-LCHlch(38.92, 65.22, 332.87°)
OKLaboklab(49.82% 0.1686 -0.0814)
OKLCHoklch(49.82% 0.187 334.2)
XYZxyz(19.4713, 10.6105, 26.2167)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D288D #289D38
analogous
#72289D #9D288D #9D2852
triadic
#9D288D #8D9D28 #288D9D
tetradic
#9D288D #9D7228 #289D38 #28529D
square
#9D288D #9D7228 #289D38 #28529D
split-complementary
#9D288D #529D28 #289D72
monochromatic
#3B0F35 #6C1C61 #9D288D #CC36B7 #D867C9

Accessibility & contrast

On white

6.73
#9D288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D288D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D288D#FFFFFF#000000##FFFFFF
##9D288D1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A53358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d288d;
/* rgb */ color: rgb(157, 40, 141);
/* oklch */ color: oklch(49.8% 0.187 334.2);
Tailwind
colors: {
  custom: {
    50: '#bd6eae',
    500: '#9d288d',
    950: '#000000',
  },
}
SCSS
$custom: #9d288d;
$custom-light: #bd6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d288d",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 308.205,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49818,
    "c": 0.18726,
    "h": 334.2
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#9D288D
secondary
#62BE6F
accent
#E35B45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D288D

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

Preview Lab → · Contrast checker → · Palette generator →

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