#9F298D#9F298D

#9F298D is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.187 H 335.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9F298D
RGBrgb(159, 41, 141)
HSLhsl(309, 59%, 39%)
HSVhsv(309, 74%, 62%)
CMYKcmyk(0%, 74.2%, 11.3%, 37.6%)
CIE-LABlab(39.38, 58.19, -28.99)
CIE-LCHlch(39.38, 65.01, 333.52°)
OKLaboklab(50.22% 0.1697 -0.0792)
OKLCHoklch(50.22% 0.187 335)
XYZxyz(19.8990, 10.8816, 26.2465)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F298D #299F3B
analogous
#76299F #9F298D #9F2952
triadic
#9F298D #8D9F29 #298D9F
tetradic
#9F298D #9F7629 #299F3B #29529F
square
#9F298D #9F7629 #299F3B #29529F
split-complementary
#9F298D #529F29 #299F76
monochromatic
#3E1037 #6E1C62 #9F298D #CC39B6 #D96AC8

Accessibility & contrast

On white

6.61
#9F298D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9F298D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F298D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F298D#FFFFFF#000000##FFFFFF
##9F298D1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285290
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#A73358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f298d;
/* rgb */ color: rgb(159, 41, 141);
/* oklch */ color: oklch(50.2% 0.187 335.0);
Tailwind
colors: {
  custom: {
    50: '#bf6fae',
    500: '#9f298d',
    950: '#000000',
  },
}
SCSS
$custom: #9f298d;
$custom-light: #bf6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f298d",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 309.153,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50219,
    "c": 0.18728,
    "h": 335
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

primary
#9F298D
secondary
#65BF73
accent
#E25D46
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F298D

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

Preview Lab → · Contrast checker → · Palette generator →

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