#9E2D83#9E2D83

#9E2D83 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.175 H 339.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9E2D83
RGBrgb(158, 45, 131)
HSLhsl(314, 56%, 40%)
HSVhsv(314, 72%, 62%)
CMYKcmyk(0%, 71.5%, 17.1%, 38%)
CIE-LABlab(39.22, 55.04, -23.11)
CIE-LCHlch(39.22, 59.70, 337.22°)
OKLaboklab(49.91% 0.1633 -0.0625)
OKLCHoklch(49.91% 0.175 339.1)
XYZxyz(19.1361, 10.7864, 22.5425)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D83 #2D9E48
analogous
#802D9E #9E2D83 #9E2D4B
triadic
#9E2D83 #839E2D #2D839E
tetradic
#9E2D83 #9E802D #2D9E48 #2D4B9E
square
#9E2D83 #9E802D #2D9E48 #2D4B9E
split-complementary
#9E2D83 #4B9E2D #2D9E80
monochromatic
#3F1234 #6E1F5C #9E2D83 #C940A8 #D66FBE

Accessibility & contrast

On white

6.65
#9E2D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9E2D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2D83
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D83#FFFFFF#000000##FFFFFF
##9E2D831.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335185
Deuteranopia (green-blind)
#576380
Tritanopia (blue-blind)
#A73154
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2d83;
/* rgb */ color: rgb(158, 45, 131);
/* oklch */ color: oklch(49.9% 0.175 339.1);
Tailwind
colors: {
  custom: {
    50: '#be70a7',
    500: '#9e2d83',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d83;
$custom-light: #be70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d83",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 314.336,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49911,
    "c": 0.17488,
    "h": 339.1
  },
  "luminance": 0.10785
}

Semantic roles & 50–950 ramp

primary
#9E2D83
secondary
#69BD7E
accent
#DF6D49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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