#9F148D#9F148D

#9F148D is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.206 H 334.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9F148D
RGBrgb(159, 20, 141)
HSLhsl(308, 78%, 35%)
HSVhsv(308, 87%, 62%)
CMYKcmyk(0%, 87.4%, 11.3%, 37.6%)
CIE-LABlab(37.47, 63.68, -31.99)
CIE-LCHlch(37.47, 71.26, 333.33°)
OKLaboklab(48.85% 0.186 -0.0877)
OKLCHoklch(48.85% 0.206 334.7)
XYZxyz(19.3562, 9.7962, 26.0656)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F148D #149F26
analogous
#6C149F #9F148D #9F1447
triadic
#9F148D #8D9F14 #148D9F
tetradic
#9F148D #9F6C14 #149F26 #14479F
square
#9F148D #9F6C14 #149F26 #14479F
split-complementary
#9F148D #479F14 #149F6C
monochromatic
#32062D #690D5D #9F148D #D51BBD #E846D3

Accessibility & contrast

On white

7.10
#9F148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F148D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F148D#FFFFFF#000000##FFFFFF
##9F148D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C90
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#A72553
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f148d;
/* rgb */ color: rgb(159, 20, 141);
/* oklch */ color: oklch(48.9% 0.206 334.7);
Tailwind
colors: {
  custom: {
    50: '#c068af',
    500: '#9f148d',
    950: '#000000',
  },
}
SCSS
$custom: #9f148d;
$custom-light: #c068af;
$custom-dark: #000000;
JSON
{
  "hex": "#9f148d",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 307.77,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.20561,
    "h": 334.7
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

primary
#9F148D
secondary
#46C857
accent
#F44D34
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F148D

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

Preview Lab → · Contrast checker → · Palette generator →

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