#9A2E83#9A2E83

#9A2E83 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.171 H 337.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9A2E83
RGBrgb(154, 46, 131)
HSLhsl(313, 54%, 39%)
HSVhsv(313, 70%, 60%)
CMYKcmyk(0%, 70.1%, 14.9%, 39.6%)
CIE-LABlab(38.66, 53.63, -24.03)
CIE-LCHlch(38.66, 58.76, 335.87°)
OKLaboklab(49.38% 0.1581 -0.0652)
OKLCHoklch(49.38% 0.171 337.6)
XYZxyz(18.4005, 10.4644, 22.5191)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E83 #2E9A45
analogous
#7B2E9A #9A2E83 #9A2E4D
triadic
#9A2E83 #839A2E #2E839A
tetradic
#9A2E83 #9A7B2E #2E9A45 #2E4D9A
square
#9A2E83 #9A7B2E #2E9A45 #2E4D9A
split-complementary
#9A2E83 #4D9A2E #2E9A7B
monochromatic
#3C1233 #6B205B #9A2E83 #C63FA9 #D46FBE

Accessibility & contrast

On white

6.79
#9A2E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9A2E83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2E83
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2E83#FFFFFF#000000##FFFFFF
##9A2E831.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2e83;
/* rgb */ color: rgb(154, 46, 131);
/* oklch */ color: oklch(49.4% 0.171 337.6);
Tailwind
colors: {
  custom: {
    50: '#bb70a7',
    500: '#9a2e83',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e83;
$custom-light: #bb70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e83",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 312.778,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.17101,
    "h": 337.6
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#9A2E83
secondary
#69BB7A
accent
#DD6A4A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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