#9F3E83#9F3E83

#9F3E83 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 51.9% C 0.152 H 340.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9F3E83
RGBrgb(159, 62, 131)
HSLhsl(317, 44%, 43%)
HSVhsv(317, 61%, 62%)
CMYKcmyk(0%, 61%, 17.6%, 37.6%)
CIE-LABlab(41.93, 48.27, -18.90)
CIE-LCHlch(41.93, 51.84, 338.61°)
OKLaboklab(51.93% 0.1432 -0.0508)
OKLCHoklch(51.93% 0.152 340.5)
XYZxyz(20.1179, 12.4566, 22.8131)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3E83 #3E9F5A
analogous
#8A3E9F #9F3E83 #9F3E52
triadic
#9F3E83 #839F3E #3E839F
tetradic
#9F3E83 #9F8A3E #3E9F5A #3E529F
square
#9F3E83 #9F8A3E #3E9F5A #3E529F
split-complementary
#9F3E83 #529F3E #3E9F8A
monochromatic
#471C3A #732D5F #9F3E83 #BF5BA2 #D087BB

Accessibility & contrast

On white

6.02
#9F3E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9F3E83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3E83
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3E83#FFFFFF#000000##FFFFFF
##9F3E831.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445985
Deuteranopia (green-blind)
#606981
Tritanopia (blue-blind)
#A8405B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f3e83;
/* rgb */ color: rgb(159, 62, 131);
/* oklch */ color: oklch(51.9% 0.152 340.5);
Tailwind
colors: {
  custom: {
    50: '#be79a7',
    500: '#9f3e83',
    950: '#000000',
  },
}
SCSS
$custom: #9f3e83;
$custom-light: #be79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3e83",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 131
  },
  "hsl": {
    "h": 317.32,
    "s": 43.891,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.15192,
    "h": 340.5
  },
  "luminance": 0.12455
}

Semantic roles & 50–950 ramp

primary
#9F3E83
secondary
#7EBB90
accent
#D47954
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9F3E83

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

Preview Lab → · Contrast checker → · Palette generator →

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