#9F248E#9F248E

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

Color values

HEX#9F248E
RGBrgb(159, 36, 142)
HSLhsl(308, 63%, 38%)
HSVhsv(308, 77%, 62%)
CMYKcmyk(0%, 77.4%, 10.7%, 37.6%)
CIE-LABlab(38.88, 59.92, -30.39)
CIE-LCHlch(38.88, 67.19, 333.11°)
OKLaboklab(49.87% 0.1745 -0.0832)
OKLCHoklch(49.87% 0.193 334.5)
XYZxyz(19.8117, 10.5874, 26.5861)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F248E #249F35
analogous
#72249F #9F248E #9F2450
triadic
#9F248E #8E9F24 #248E9F
tetradic
#9F248E #9F7224 #249F35 #24509F
square
#9F248E #9F7224 #249F35 #24509F
split-complementary
#9F248E #509F24 #249F72
monochromatic
#3B0D35 #6D1961 #9F248E #D030BA #DB62CB

Accessibility & contrast

On white

6.74
#9F248E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F248E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F248E#FFFFFF#000000##FFFFFF
##9F248E1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#50628B
Tritanopia (blue-blind)
#A73057
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f248e;
/* rgb */ color: rgb(159, 36, 142);
/* oklch */ color: oklch(49.9% 0.193 334.5);
Tailwind
colors: {
  custom: {
    50: '#bf6daf',
    500: '#9f248e',
    950: '#000000',
  },
}
SCSS
$custom: #9f248e;
$custom-light: #bf6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f248e",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 308.293,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49873,
    "c": 0.19328,
    "h": 334.5
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#9F248E
secondary
#5EC16C
accent
#E65842
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F248E

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

Preview Lab → · Contrast checker → · Palette generator →

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