#9F148E#9F148E

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

Color values

HEX#9F148E
RGBrgb(159, 20, 142)
HSLhsl(307, 78%, 35%)
HSVhsv(307, 87%, 62%)
CMYKcmyk(0%, 87.4%, 10.7%, 37.6%)
CIE-LABlab(37.53, 63.82, -32.52)
CIE-LCHlch(37.53, 71.63, 333.00°)
OKLaboklab(48.91% 0.186 -0.0892)
OKLCHoklch(48.91% 0.206 334.4)
XYZxyz(19.4310, 9.8261, 26.4592)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F148E #149F25
analogous
#6A149F #9F148E #9F1449
triadic
#9F148E #8E9F14 #148E9F
tetradic
#9F148E #9F6A14 #149F25 #14499F
square
#9F148E #9F6A14 #149F25 #14499F
split-complementary
#9F148E #499F14 #149F6A
monochromatic
#32062D #690D5D #9F148E #D51BBF #E846D4

Accessibility & contrast

On white

7.08
#9F148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F148E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F148E#FFFFFF#000000##FFFFFF
##9F148E1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C91
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#A72654
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f148e;
/* rgb */ color: rgb(159, 20, 142);
/* oklch */ color: oklch(48.9% 0.206 334.4);
Tailwind
colors: {
  custom: {
    50: '#c068af',
    500: '#9f148e',
    950: '#000000',
  },
}
SCSS
$custom: #9f148e;
$custom-light: #c068af;
$custom-dark: #000000;
JSON
{
  "hex": "#9f148e",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 307.338,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48909,
    "c": 0.20628,
    "h": 334.4
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#9F148E
secondary
#46C856
accent
#F44B34
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F148E

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

Preview Lab → · Contrast checker → · Palette generator →

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