#9F248C#9F248C

#9F248C is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.192 H 335.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F248C
RGBrgb(159, 36, 140)
HSLhsl(309, 63%, 38%)
HSVhsv(309, 77%, 62%)
CMYKcmyk(0%, 77.4%, 11.9%, 37.6%)
CIE-LABlab(38.77, 59.62, -29.33)
CIE-LCHlch(38.77, 66.44, 333.81°)
OKLaboklab(49.77% 0.1743 -0.0802)
OKLCHoklch(49.77% 0.192 335.3)
XYZxyz(19.6629, 10.5279, 25.8024)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F248C #249F37
analogous
#74249F #9F248C #9F244E
triadic
#9F248C #8C9F24 #248C9F
tetradic
#9F248C #9F7424 #249F37 #244E9F
square
#9F248C #9F7424 #249F37 #244E9F
split-complementary
#9F248C #4E9F24 #249F74
monochromatic
#3B0D34 #6D1960 #9F248C #D030B7 #DB62C9

Accessibility & contrast

On white

6.76
#9F248C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F248C
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F248C#FFFFFF#000000##FFFFFF
##9F248C1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24508F
Deuteranopia (green-blind)
#516289
Tritanopia (blue-blind)
#A72F56
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f248c;
/* rgb */ color: rgb(159, 36, 140);
/* oklch */ color: oklch(49.8% 0.192 335.3);
Tailwind
colors: {
  custom: {
    50: '#bf6dae',
    500: '#9f248c',
    950: '#000000',
  },
}
SCSS
$custom: #9f248c;
$custom-light: #bf6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f248c",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 309.268,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49765,
    "c": 0.19187,
    "h": 335.3
  },
  "luminance": 0.10526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F248C

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

Preview Lab → · Contrast checker → · Palette generator →

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