#9A2D85#9A2D85

#9A2D85 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.174 H 336.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9A2D85
RGBrgb(154, 45, 133)
HSLhsl(312, 55%, 39%)
HSVhsv(312, 71%, 60%)
CMYKcmyk(0%, 70.8%, 13.6%, 39.6%)
CIE-LABlab(38.62, 54.31, -25.32)
CIE-LCHlch(38.62, 59.92, 335.00°)
OKLaboklab(49.38% 0.1595 -0.0689)
OKLCHoklch(49.38% 0.174 336.6)
XYZxyz(18.4987, 10.4419, 23.2270)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D85 #2D9A42
analogous
#792D9A #9A2D85 #9A2D4F
triadic
#9A2D85 #859A2D #2D859A
tetradic
#9A2D85 #9A792D #2D9A42 #2D4F9A
square
#9A2D85 #9A792D #2D9A42 #2D4F9A
split-complementary
#9A2D85 #4F9A2D #2D9A79
monochromatic
#3B1133 #6B1F5C #9A2D85 #C73EAC #D46DC0

Accessibility & contrast

On white

6.80
#9A2D85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2D85
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D85#FFFFFF#000000##FFFFFF
##9A2D851.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5087
Deuteranopia (green-blind)
#546182
Tritanopia (blue-blind)
#A23355
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a2d85;
/* rgb */ color: rgb(154, 45, 133);
/* oklch */ color: oklch(49.4% 0.174 336.6);
Tailwind
colors: {
  custom: {
    50: '#bb70a9',
    500: '#9a2d85',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d85;
$custom-light: #bb70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d85",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 311.56,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.17373,
    "h": 336.6
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

primary
#9A2D85
secondary
#67BB78
accent
#DE664A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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