#9D288F#9D288F

#9D288F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.189 H 333.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9D288F
RGBrgb(157, 40, 143)
HSLhsl(307, 59%, 39%)
HSVhsv(307, 75%, 62%)
CMYKcmyk(0%, 74.5%, 8.9%, 38.4%)
CIE-LABlab(39.02, 58.35, -30.80)
CIE-LCHlch(39.02, 65.98, 332.17°)
OKLaboklab(49.93% 0.1688 -0.0845)
OKLCHoklch(49.93% 0.189 333.4)
XYZxyz(19.6215, 10.6705, 27.0075)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D288F #289D36
analogous
#70289D #9D288F #9D2854
triadic
#9D288F #8F9D28 #288F9D
tetradic
#9D288F #9D7028 #289D36 #28549D
square
#9D288F #9D7028 #289D36 #28549D
split-complementary
#9D288F #549D28 #289D70
monochromatic
#3B0F36 #6C1C63 #9D288F #CC36BA #D867CB

Accessibility & contrast

On white

6.70
#9D288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D288F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D288F#FFFFFF#000000##FFFFFF
##9D288F1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#50628C
Tritanopia (blue-blind)
#A43459
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d288f;
/* rgb */ color: rgb(157, 40, 143);
/* oklch */ color: oklch(49.9% 0.189 333.4);
Tailwind
colors: {
  custom: {
    50: '#bd6eb0',
    500: '#9d288f',
    950: '#000000',
  },
}
SCSS
$custom: #9d288f;
$custom-light: #bd6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d288f",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 307.179,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49926,
    "c": 0.18872,
    "h": 333.4
  },
  "luminance": 0.10669
}

Semantic roles & 50–950 ramp

primary
#9D288F
secondary
#62BE6D
accent
#E35845
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D288F

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

Preview Lab → · Contrast checker → · Palette generator →

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