#9F249D#9F249D

#9F249D is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.204 H 328.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9F249D
RGBrgb(159, 36, 157)
HSLhsl(301, 63%, 38%)
HSVhsv(301, 77%, 62%)
CMYKcmyk(0%, 77.4%, 1.3%, 37.6%)
CIE-LABlab(39.70, 62.27, -38.21)
CIE-LCHlch(39.70, 73.06, 328.47°)
OKLaboklab(50.72% 0.1748 -0.1058)
OKLCHoklch(50.72% 0.204 328.8)
XYZxyz(21.0146, 11.0686, 32.9214)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F249D #249F26
analogous
#64249F #9F249D #9F245F
triadic
#9F249D #9D9F24 #249D9F
tetradic
#9F249D #9F6424 #249F26 #245F9F
square
#9F249D #9F6424 #249F26 #245F9F
split-complementary
#9F249D #5F9F24 #249F64
monochromatic
#3B0D3A #6D196C #9F249D #D030CE #DB62D9

Accessibility & contrast

On white

6.54
#9F249D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9F249D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F249D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F249D#FFFFFF#000000##FFFFFF
##9F249D1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0853A0
Deuteranopia (green-blind)
#48639A
Tritanopia (blue-blind)
#A43860
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f249d;
/* rgb */ color: rgb(159, 36, 157);
/* oklch */ color: oklch(50.7% 0.204 328.8);
Tailwind
colors: {
  custom: {
    50: '#bf6eba',
    500: '#9f249d',
    950: '#000000',
  },
}
SCSS
$custom: #9f249d;
$custom-light: #bf6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f249d",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 300.976,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50724,
    "c": 0.20432,
    "h": 328.8
  },
  "luminance": 0.11067
}

Semantic roles & 50–950 ramp

primary
#9F249D
secondary
#5EC160
accent
#E64442
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F249D

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

Preview Lab → · Contrast checker → · Palette generator →

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