#9F2E83#9F2E83

#9F2E83 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.174 H 339.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9F2E83
RGBrgb(159, 46, 131)
HSLhsl(315, 55%, 40%)
HSVhsv(315, 71%, 62%)
CMYKcmyk(0%, 71.1%, 17.6%, 37.6%)
CIE-LABlab(39.52, 54.93, -22.63)
CIE-LCHlch(39.52, 59.41, 337.61°)
OKLaboklab(50.16% 0.1632 -0.0611)
OKLCHoklch(50.16% 0.174 339.5)
XYZxyz(19.3723, 10.9654, 22.5646)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E83 #2E9F4A
analogous
#822E9F #9F2E83 #9F2E4B
triadic
#9F2E83 #839F2E #2E839F
tetradic
#9F2E83 #9F822E #2E9F4A #2E4B9F
square
#9F2E83 #9F822E #2E9F4A #2E4B9F
split-complementary
#9F2E83 #4B9F2E #2E9F82
monochromatic
#401335 #70205C #9F2E83 #C842A7 #D671BD

Accessibility & contrast

On white

6.58
#9F2E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9F2E83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E83
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E83#FFFFFF#000000##FFFFFF
##9F2E831.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355285
Deuteranopia (green-blind)
#596480
Tritanopia (blue-blind)
#A83254
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2e83;
/* rgb */ color: rgb(159, 46, 131);
/* oklch */ color: oklch(50.2% 0.174 339.5);
Tailwind
colors: {
  custom: {
    50: '#bf71a7',
    500: '#9f2e83',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e83;
$custom-light: #bf71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e83",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 314.867,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50164,
    "c": 0.1743,
    "h": 339.5
  },
  "luminance": 0.10964
}

Semantic roles & 50–950 ramp

primary
#9F2E83
secondary
#6BBE80
accent
#DE6E49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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