#9D289F#9D289F

#9D289F is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.201 H 327.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9D289F
RGBrgb(157, 40, 159)
HSLhsl(299, 60%, 39%)
HSVhsv(299, 75%, 62%)
CMYKcmyk(1.3%, 74.8%, 0%, 37.6%)
CIE-LABlab(39.90, 60.95, -39.11)
CIE-LCHlch(39.90, 72.42, 327.31°)
OKLaboklab(50.84% 0.1691 -0.1085)
OKLCHoklch(50.84% 0.201 327.3)
XYZxyz(20.9211, 11.1904, 33.8522)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D289F #2A9F28
analogous
#62289F #9D289F #9F2866
triadic
#9D289F #9F9D28 #289F9D
tetradic
#9D289F #9F6228 #2A9F28 #28669F
square
#9D289F #9F6228 #2A9F28 #28669F
split-complementary
#9D289F #669F28 #289F62
monochromatic
#3C0F3D #6D1C6E #9D289F #CA37CD #D768D9

Accessibility & contrast

On white

6.49
#9D289F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9D289F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D289F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D289F#FFFFFF#000000##FFFFFF
##9D289F1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0954A2
Deuteranopia (green-blind)
#47639C
Tritanopia (blue-blind)
#A23C62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d289f;
/* rgb */ color: rgb(157, 40, 159);
/* oklch */ color: oklch(50.8% 0.201 327.3);
Tailwind
colors: {
  custom: {
    50: '#be6fbc',
    500: '#9d289f',
    950: '#000000',
  },
}
SCSS
$custom: #9d289f;
$custom-light: #be6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d289f",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 298.992,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50841,
    "c": 0.20093,
    "h": 327.3
  },
  "luminance": 0.11189
}

Semantic roles & 50–950 ramp

primary
#9D289F
secondary
#65BF64
accent
#E34547
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D289F

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

Preview Lab → · Contrast checker → · Palette generator →

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