#9D289D#9D289D

#9D289D is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.199 H 328.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9D289D
RGBrgb(157, 40, 157)
HSLhsl(300, 59%, 39%)
HSVhsv(300, 75%, 62%)
CMYKcmyk(0%, 74.5%, 0%, 38.4%)
CIE-LABlab(39.78, 60.61, -38.09)
CIE-LCHlch(39.78, 71.59, 327.85°)
OKLaboklab(50.72% 0.1691 -0.1056)
OKLCHoklch(50.72% 0.199 328)
XYZxyz(20.7490, 11.1215, 32.9456)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D289D #289D28
analogous
#62289D #9D289D #9D2862
triadic
#9D289D #9D9D28 #289D9D
tetradic
#9D289D #9D6228 #289D28 #28629D
square
#9D289D #9D6228 #289D28 #28629D
split-complementary
#9D289D #629D28 #289D62
monochromatic
#3B0F3B #6C1C6C #9D289D #CC36CC #D867D8

Accessibility & contrast

On white

6.51
#9D289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9D289D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D289D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D289D#FFFFFF#000000##FFFFFF
##9D289D1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F54A0
Deuteranopia (green-blind)
#48639A
Tritanopia (blue-blind)
#A23B61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d289d;
/* rgb */ color: rgb(157, 40, 157);
/* oklch */ color: oklch(50.7% 0.199 328.0);
Tailwind
colors: {
  custom: {
    50: '#be6fba',
    500: '#9d289d',
    950: '#000000',
  },
}
SCSS
$custom: #9d289d;
$custom-light: #be6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d289d",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 300,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50722,
    "c": 0.19937,
    "h": 328
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#9D289D
secondary
#62BE62
accent
#E34545
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D289D

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

Preview Lab → · Contrast checker → · Palette generator →

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