#9F148C#9F148C

#9F148C is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.205 H 335.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9F148C
RGBrgb(159, 20, 140)
HSLhsl(308, 78%, 35%)
HSVhsv(308, 87%, 62%)
CMYKcmyk(0%, 87.4%, 11.9%, 37.6%)
CIE-LABlab(37.42, 63.53, -31.46)
CIE-LCHlch(37.42, 70.90, 333.66°)
OKLaboklab(48.8% 0.1859 -0.0862)
OKLCHoklch(48.8% 0.205 335.1)
XYZxyz(19.2822, 9.7665, 25.6755)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F148C #149F27
analogous
#6C149F #9F148C #9F1447
triadic
#9F148C #8C9F14 #148C9F
tetradic
#9F148C #9F6C14 #149F27 #14479F
square
#9F148C #9F6C14 #149F27 #14479F
split-complementary
#9F148C #479F14 #149F6C
monochromatic
#32062C #690D5C #9F148C #D51BBC #E846D2

Accessibility & contrast

On white

7.11
#9F148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F148C
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F148C#FFFFFF#000000##FFFFFF
##9F148C1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8F
Deuteranopia (green-blind)
#4D5F89
Tritanopia (blue-blind)
#A72453
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f148c;
/* rgb */ color: rgb(159, 20, 140);
/* oklch */ color: oklch(48.8% 0.205 335.1);
Tailwind
colors: {
  custom: {
    50: '#c068ae',
    500: '#9f148c',
    950: '#000000',
  },
}
SCSS
$custom: #9f148c;
$custom-light: #c068ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f148c",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 308.201,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48797,
    "c": 0.20494,
    "h": 335.1
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#9F148C
secondary
#46C858
accent
#F44E34
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F148C

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

Preview Lab → · Contrast checker → · Palette generator →

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