#9A2D83#9A2D83

#9A2D83 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.172 H 337.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9A2D83
RGBrgb(154, 45, 131)
HSLhsl(313, 55%, 39%)
HSVhsv(313, 71%, 60%)
CMYKcmyk(0%, 70.8%, 14.9%, 39.6%)
CIE-LABlab(38.53, 54.01, -24.24)
CIE-LCHlch(38.53, 59.20, 335.83°)
OKLaboklab(49.28% 0.1592 -0.0658)
OKLCHoklch(49.28% 0.172 337.6)
XYZxyz(18.3619, 10.3872, 22.5062)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D83 #2D9A44
analogous
#7B2D9A #9A2D83 #9A2D4C
triadic
#9A2D83 #839A2D #2D839A
tetradic
#9A2D83 #9A7B2D #2D9A44 #2D4C9A
square
#9A2D83 #9A7B2D #2D9A44 #2D4C9A
split-complementary
#9A2D83 #4C9A2D #2D9A7B
monochromatic
#3B1132 #6B1F5B #9A2D83 #C73EAA #D46DBF

Accessibility & contrast

On white

6.82
#9A2D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9A2D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2D83
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D83#FFFFFF#000000##FFFFFF
##9A2D831.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315085
Deuteranopia (green-blind)
#546180
Tritanopia (blue-blind)
#A23354
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a2d83;
/* rgb */ color: rgb(154, 45, 131);
/* oklch */ color: oklch(49.3% 0.172 337.6);
Tailwind
colors: {
  custom: {
    50: '#bb70a7',
    500: '#9a2d83',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d83;
$custom-light: #bb70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d83",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 312.661,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49278,
    "c": 0.17229,
    "h": 337.6
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#9A2D83
secondary
#67BB79
accent
#DE694A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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