#9F248F#9F248F

#9F248F is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.194 H 334.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9F248F
RGBrgb(159, 36, 143)
HSLhsl(308, 63%, 38%)
HSVhsv(308, 77%, 62%)
CMYKcmyk(0%, 77.4%, 10.1%, 37.6%)
CIE-LABlab(38.93, 60.07, -30.92)
CIE-LCHlch(38.93, 67.56, 332.76°)
OKLaboklab(49.93% 0.1745 -0.0847)
OKLCHoklch(49.93% 0.194 334.1)
XYZxyz(19.8871, 10.6176, 26.9833)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F248F #249F34
analogous
#71249F #9F248F #9F2451
triadic
#9F248F #8F9F24 #248F9F
tetradic
#9F248F #9F7124 #249F34 #24519F
square
#9F248F #9F7124 #249F34 #24519F
split-complementary
#9F248F #519F24 #249F71
monochromatic
#3B0D35 #6D1962 #9F248F #D030BB #DB62CC

Accessibility & contrast

On white

6.72
#9F248F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9F248F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F248F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F248F#FFFFFF#000000##FFFFFF
##9F248F1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#50628C
Tritanopia (blue-blind)
#A73058
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f248f;
/* rgb */ color: rgb(159, 36, 143);
/* oklch */ color: oklch(49.9% 0.194 334.1);
Tailwind
colors: {
  custom: {
    50: '#bf6db0',
    500: '#9f248f',
    950: '#000000',
  },
}
SCSS
$custom: #9f248f;
$custom-light: #bf6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f248f",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 307.805,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49927,
    "c": 0.194,
    "h": 334.1
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#9F248F
secondary
#5EC16B
accent
#E65742
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F248F

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

Preview Lab → · Contrast checker → · Palette generator →

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