#9C2E83#9C2E83

#9C2E83 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.172 H 338.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9C2E83
RGBrgb(156, 46, 131)
HSLhsl(314, 54%, 40%)
HSVhsv(314, 71%, 61%)
CMYKcmyk(0%, 70.5%, 16%, 38.8%)
CIE-LABlab(39.01, 54.15, -23.47)
CIE-LCHlch(39.01, 59.02, 336.57°)
OKLaboklab(49.69% 0.1602 -0.0636)
OKLCHoklch(49.69% 0.172 338.4)
XYZxyz(18.7844, 10.6623, 22.5371)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E83 #2E9C47
analogous
#7E2E9C #9C2E83 #9C2E4C
triadic
#9C2E83 #839C2E #2E839C
tetradic
#9C2E83 #9C7E2E #2E9C47 #2E4C9C
square
#9C2E83 #9C7E2E #2E9C47 #2E4C9C
split-complementary
#9C2E83 #4C9C2E #2E9C7E
monochromatic
#3D1234 #6D205B #9C2E83 #C740A8 #D570BE

Accessibility & contrast

On white

6.70
#9C2E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9C2E83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E83
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E83#FFFFFF#000000##FFFFFF
##9C2E831.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c2e83;
/* rgb */ color: rgb(156, 46, 131);
/* oklch */ color: oklch(49.7% 0.172 338.4);
Tailwind
colors: {
  custom: {
    50: '#bd70a7',
    500: '#9c2e83',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e83;
$custom-light: #bd70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e83",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 313.636,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49691,
    "c": 0.17232,
    "h": 338.4
  },
  "luminance": 0.10661
}

Semantic roles & 50–950 ramp

primary
#9C2E83
secondary
#6ABC7C
accent
#DE6C4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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