#9F248D#9F248D

#9F248D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.193 H 334.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9F248D
RGBrgb(159, 36, 141)
HSLhsl(309, 63%, 38%)
HSVhsv(309, 77%, 62%)
CMYKcmyk(0%, 77.4%, 11.3%, 37.6%)
CIE-LABlab(38.83, 59.77, -29.86)
CIE-LCHlch(38.83, 66.81, 333.45°)
OKLaboklab(49.82% 0.1744 -0.0817)
OKLCHoklch(49.82% 0.193 334.9)
XYZxyz(19.7369, 10.5575, 26.1925)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F248D #249F36
analogous
#73249F #9F248D #9F2450
triadic
#9F248D #8D9F24 #248D9F
tetradic
#9F248D #9F7324 #249F36 #24509F
square
#9F248D #9F7324 #249F36 #24509F
split-complementary
#9F248D #509F24 #249F73
monochromatic
#3B0D34 #6D1961 #9F248D #D030B9 #DB62CA

Accessibility & contrast

On white

6.75
#9F248D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F248D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F248D
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F248D#FFFFFF#000000##FFFFFF
##9F248D1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A72F57
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f248d;
/* rgb */ color: rgb(159, 36, 141);
/* oklch */ color: oklch(49.8% 0.193 334.9);
Tailwind
colors: {
  custom: {
    50: '#bf6dae',
    500: '#9f248d',
    950: '#000000',
  },
}
SCSS
$custom: #9f248d;
$custom-light: #bf6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f248d",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 308.78,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49819,
    "c": 0.19257,
    "h": 334.9
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#9F248D
secondary
#5EC16D
accent
#E65A42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F248D

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

Preview Lab → · Contrast checker → · Palette generator →

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