#9F138E#9F138E

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

Color values

HEX#9F138E
RGBrgb(159, 19, 142)
HSLhsl(307, 79%, 35%)
HSVhsv(307, 88%, 62%)
CMYKcmyk(0%, 88.1%, 10.7%, 37.6%)
CIE-LABlab(37.47, 64.01, -32.61)
CIE-LCHlch(37.47, 71.84, 333.00°)
OKLaboklab(48.86% 0.1865 -0.0895)
OKLCHoklch(48.86% 0.207 334.4)
XYZxyz(19.4137, 9.7915, 26.4534)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F138E #139F24
analogous
#6A139F #9F138E #9F1348
triadic
#9F138E #8E9F13 #138E9F
tetradic
#9F138E #9F6A13 #139F24 #13489F
square
#9F138E #9F6A13 #139F24 #13489F
split-complementary
#9F138E #489F13 #139F6A
monochromatic
#32062C #680C5D #9F138E #D61ABF #E944D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F138E#FFFFFF#000000##FFFFFF
##9F138E1.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)
#0E4C91
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#A72554
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f138e;
/* rgb */ color: rgb(159, 19, 142);
/* oklch */ color: oklch(48.9% 0.207 334.4);
Tailwind
colors: {
  custom: {
    50: '#c068af',
    500: '#9f138e',
    950: '#000000',
  },
}
SCSS
$custom: #9f138e;
$custom-light: #c068af;
$custom-dark: #000000;
JSON
{
  "hex": "#9f138e",
  "rgb": {
    "r": 159,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 307.286,
    "s": 78.652,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.20689,
    "h": 334.4
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#9F138E
secondary
#45C955
accent
#F54A33
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F138E

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

Preview Lab → · Contrast checker → · Palette generator →

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