#9F148B#9F148B

#9F148B is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.204 H 335.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9F148B
RGBrgb(159, 20, 139)
HSLhsl(309, 78%, 35%)
HSVhsv(309, 87%, 62%)
CMYKcmyk(0%, 87.4%, 12.6%, 37.6%)
CIE-LABlab(37.37, 63.39, -30.93)
CIE-LCHlch(37.37, 70.53, 333.99°)
OKLaboklab(48.74% 0.1859 -0.0847)
OKLCHoklch(48.74% 0.204 335.5)
XYZxyz(19.2088, 9.7372, 25.2889)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F148B #149F28
analogous
#6D149F #9F148B #9F1446
triadic
#9F148B #8B9F14 #148B9F
tetradic
#9F148B #9F6D14 #149F28 #14469F
square
#9F148B #9F6D14 #149F28 #14469F
split-complementary
#9F148B #469F14 #149F6D
monochromatic
#32062C #690D5B #9F148B #D51BBB #E846D0

Accessibility & contrast

On white

7.13
#9F148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F148B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F148B#FFFFFF#000000##FFFFFF
##9F148B1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#A72452
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f148b;
/* rgb */ color: rgb(159, 20, 139);
/* oklch */ color: oklch(48.7% 0.204 335.5);
Tailwind
colors: {
  custom: {
    50: '#c068ad',
    500: '#9f148b',
    950: '#000000',
  },
}
SCSS
$custom: #9f148b;
$custom-light: #c068ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9f148b",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 308.633,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.20428,
    "h": 335.5
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#9F148B
secondary
#46C859
accent
#F44F34
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F148B

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

Preview Lab → · Contrast checker → · Palette generator →

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