#9F298E#9F298E

#9F298E is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.188 H 334.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9F298E
RGBrgb(159, 41, 142)
HSLhsl(309, 59%, 39%)
HSVhsv(309, 74%, 62%)
CMYKcmyk(0%, 74.2%, 10.7%, 37.6%)
CIE-LABlab(39.43, 58.34, -29.52)
CIE-LCHlch(39.43, 65.38, 333.16°)
OKLaboklab(50.27% 0.1698 -0.0807)
OKLCHoklch(50.27% 0.188 334.6)
XYZxyz(19.9737, 10.9115, 26.6401)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F298E #299F3A
analogous
#75299F #9F298E #9F2953
triadic
#9F298E #8E9F29 #298E9F
tetradic
#9F298E #9F7529 #299F3A #29539F
square
#9F298E #9F7529 #299F3A #29539F
split-complementary
#9F298E #539F29 #299F75
monochromatic
#3E1037 #6E1C63 #9F298E #CC39B7 #D96AC9

Accessibility & contrast

On white

6.60
#9F298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F298E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F298E#FFFFFF#000000##FFFFFF
##9F298E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#A73359
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f298e;
/* rgb */ color: rgb(159, 41, 142);
/* oklch */ color: oklch(50.3% 0.188 334.6);
Tailwind
colors: {
  custom: {
    50: '#bf6faf',
    500: '#9f298e',
    950: '#000000',
  },
}
SCSS
$custom: #9f298e;
$custom-light: #bf6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f298e",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 308.644,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50272,
    "c": 0.188,
    "h": 334.6
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#9F298E
secondary
#65BF72
accent
#E25C46
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F298E

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

Preview Lab → · Contrast checker → · Palette generator →

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