#9F138F#9F138F

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

Color values

HEX#9F138F
RGBrgb(159, 19, 143)
HSLhsl(307, 79%, 35%)
HSVhsv(307, 88%, 62%)
CMYKcmyk(0%, 88.1%, 10.1%, 37.6%)
CIE-LABlab(37.52, 64.15, -33.14)
CIE-LCHlch(37.52, 72.20, 332.68°)
OKLaboklab(48.92% 0.1865 -0.0911)
OKLCHoklch(48.92% 0.208 334)
XYZxyz(19.4891, 9.8217, 26.8506)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F138F #139F23
analogous
#69139F #9F138F #9F1349
triadic
#9F138F #8F9F13 #138F9F
tetradic
#9F138F #9F6913 #139F23 #13499F
square
#9F138F #9F6913 #139F23 #13499F
split-complementary
#9F138F #499F13 #139F69
monochromatic
#32062D #680C5E #9F138F #D61AC0 #E944D6

Accessibility & contrast

On white

7.09
#9F138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F138F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F138F#FFFFFF#000000##FFFFFF
##9F138F1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f138f;
/* rgb */ color: rgb(159, 19, 143);
/* oklch */ color: oklch(48.9% 0.208 334.0);
Tailwind
colors: {
  custom: {
    50: '#c068b0',
    500: '#9f138f',
    950: '#000000',
  },
}
SCSS
$custom: #9f138f;
$custom-light: #c068b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f138f",
  "rgb": {
    "r": 159,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 306.857,
    "s": 78.652,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48921,
    "c": 0.20757,
    "h": 334
  },
  "luminance": 0.0982
}

Semantic roles & 50–950 ramp

primary
#9F138F
secondary
#45C954
accent
#F54933
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F138F

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

Preview Lab → · Contrast checker → · Palette generator →

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