#9F148F#9F148F

#9F148F is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.207 H 334.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9F148F
RGBrgb(159, 20, 143)
HSLhsl(307, 78%, 35%)
HSVhsv(307, 87%, 62%)
CMYKcmyk(0%, 87.4%, 10.1%, 37.6%)
CIE-LABlab(37.58, 63.97, -33.04)
CIE-LCHlch(37.58, 72.00, 332.68°)
OKLaboklab(48.97% 0.186 -0.0908)
OKLCHoklch(48.97% 0.207 334)
XYZxyz(19.5064, 9.8562, 26.8564)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F148F #149F24
analogous
#69149F #9F148F #9F144A
triadic
#9F148F #8F9F14 #148F9F
tetradic
#9F148F #9F6914 #149F24 #144A9F
square
#9F148F #9F6914 #149F24 #144A9F
split-complementary
#9F148F #4A9F14 #149F69
monochromatic
#32062D #690D5E #9F148F #D51BC0 #E846D5

Accessibility & contrast

On white

7.07
#9F148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F148F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F148F#FFFFFF#000000##FFFFFF
##9F148F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C92
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#A72755
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f148f;
/* rgb */ color: rgb(159, 20, 143);
/* oklch */ color: oklch(49.0% 0.207 334.0);
Tailwind
colors: {
  custom: {
    50: '#c068b0',
    500: '#9f148f',
    950: '#000000',
  },
}
SCSS
$custom: #9f148f;
$custom-light: #c068b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f148f",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 306.906,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48966,
    "c": 0.20695,
    "h": 334
  },
  "luminance": 0.09854
}

Semantic roles & 50–950 ramp

primary
#9F148F
secondary
#46C855
accent
#F44A34
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F148F

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

Preview Lab → · Contrast checker → · Palette generator →

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