#9A3E77#9A3E77

#9A3E77 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.7% C 0.140 H 345.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9A3E77
RGBrgb(154, 62, 119)
HSLhsl(323, 43%, 42%)
HSVhsv(323, 60%, 60%)
CMYKcmyk(0%, 59.7%, 22.7%, 39.6%)
CIE-LABlab(40.65, 44.94, -13.55)
CIE-LCHlch(40.65, 46.94, 343.22°)
OKLaboklab(50.67% 0.1349 -0.0359)
OKLCHoklch(50.67% 0.14 345.1)
XYZxyz(18.3794, 11.6488, 18.7297)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3E77 #3E9A61
analogous
#8F3E9A #9A3E77 #9A3E49
triadic
#9A3E77 #779A3E #3E779A
tetradic
#9A3E77 #9A8F3E #3E9A61 #3E499A
square
#9A3E77 #9A8F3E #3E9A61 #3E499A
split-complementary
#9A3E77 #499A3E #3E9A8F
monochromatic
#431B34 #6E2C55 #9A3E77 #BC5996 #CE85B2

Accessibility & contrast

On white

6.31
#9A3E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9A3E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3E77
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3E77#FFFFFF#000000##FFFFFF
##9A3E771.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465679
Deuteranopia (green-blind)
#606675
Tritanopia (blue-blind)
#A43D55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a3e77;
/* rgb */ color: rgb(154, 62, 119);
/* oklch */ color: oklch(50.7% 0.140 345.1);
Tailwind
colors: {
  custom: {
    50: '#bb789e',
    500: '#9a3e77',
    950: '#000000',
  },
}
SCSS
$custom: #9a3e77;
$custom-light: #bb789e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3e77",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 119
  },
  "hsl": {
    "h": 322.826,
    "s": 42.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50666,
    "c": 0.13958,
    "h": 345.1
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#9A3E77
secondary
#7CB893
accent
#D28555
background
#FBF7F9
surface
#F7EEF2
border
#D0C9CC
text
#12090E
muted
#817B7E

Preview Lab

Preview with #9A3E77

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

Preview Lab → · Contrast checker → · Palette generator →

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