#9A4E7E#9A4E7E

#9A4E7E is a mid, moderate pink. Relative luminance 0.138; OKLCH L 53.2% C 0.118 H 343.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9A4E7E
RGBrgb(154, 78, 126)
HSLhsl(322, 33%, 45%)
HSVhsv(322, 49%, 60%)
CMYKcmyk(0%, 49.4%, 18.2%, 39.6%)
CIE-LABlab(43.98, 37.94, -12.79)
CIE-LCHlch(43.98, 40.03, 341.37°)
OKLaboklab(53.23% 0.1125 -0.034)
OKLCHoklch(53.23% 0.118 343.2)
XYZxyz(19.8170, 13.8266, 21.3597)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4E7E #4E9A6A
analogous
#904E9A #9A4E7E #9A4E58
triadic
#9A4E7E #7E9A4E #4E7E9A
tetradic
#9A4E7E #9A904E #4E9A6A #4E589A
square
#9A4E7E #9A904E #4E9A6A #4E589A
split-complementary
#9A4E7E #589A4E #4E9A90
monochromatic
#49253C #71395D #9A4E7E #B66F9C #CB98B8

Accessibility & contrast

On white

5.58
#9A4E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9A4E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4E7E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4E7E#FFFFFF#000000##FFFFFF
##9A4E7E1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536080
Deuteranopia (green-blind)
#676D7C
Tritanopia (blue-blind)
#A24E60
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a4e7e;
/* rgb */ color: rgb(154, 78, 126);
/* oklch */ color: oklch(53.2% 0.118 343.2);
Tailwind
colors: {
  custom: {
    50: '#ba82a3',
    500: '#9a4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #9a4e7e;
$custom-light: #ba82a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4e7e",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 322.105,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.11754,
    "h": 343.2
  },
  "luminance": 0.13825
}

Semantic roles & 50–950 ramp

primary
#9A4E7E
secondary
#8DB79C
accent
#C9865F
background
#FBF8FA
surface
#F6EFF3
border
#D0CACD
text
#120B0F
muted
#817C7F

Preview Lab

Preview with #9A4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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