#9F138D#9F138D

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

Color values

HEX#9F138D
RGBrgb(159, 19, 141)
HSLhsl(308, 79%, 35%)
HSVhsv(308, 88%, 62%)
CMYKcmyk(0%, 88.1%, 11.3%, 37.6%)
CIE-LABlab(37.41, 63.86, -32.09)
CIE-LCHlch(37.41, 71.47, 333.32°)
OKLaboklab(48.81% 0.1865 -0.088)
OKLCHoklch(48.81% 0.206 334.7)
XYZxyz(19.3389, 9.7616, 26.0598)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F138D #139F25
analogous
#6B139F #9F138D #9F1347
triadic
#9F138D #8D9F13 #138D9F
tetradic
#9F138D #9F6B13 #139F25 #13479F
square
#9F138D #9F6B13 #139F25 #13479F
split-complementary
#9F138D #479F13 #139F6B
monochromatic
#32062C #680C5D #9F138D #D61ABD #E944D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F138D#FFFFFF#000000##FFFFFF
##9F138D1.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)
#104B90
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#A72553
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f138d;
/* rgb */ color: rgb(159, 19, 141);
/* oklch */ color: oklch(48.8% 0.206 334.7);
Tailwind
colors: {
  custom: {
    50: '#c068af',
    500: '#9f138d',
    950: '#000000',
  },
}
SCSS
$custom: #9f138d;
$custom-light: #c068af;
$custom-dark: #000000;
JSON
{
  "hex": "#9f138d",
  "rgb": {
    "r": 159,
    "g": 19,
    "b": 141
  },
  "hsl": {
    "h": 307.714,
    "s": 78.652,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.20623,
    "h": 334.7
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#9F138D
secondary
#45C956
accent
#F54C33
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F138D

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

Preview Lab → · Contrast checker → · Palette generator →

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