#9A3D8A#9A3D8A

#9A3D8A is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.4% C 0.155 H 334.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9A3D8A
RGBrgb(154, 61, 138)
HSLhsl(310, 43%, 42%)
HSVhsv(310, 60%, 60%)
CMYKcmyk(0%, 60.4%, 10.4%, 39.6%)
CIE-LABlab(41.29, 48.39, -24.24)
CIE-LCHlch(41.29, 54.12, 333.39°)
OKLaboklab(51.4% 0.1404 -0.0659)
OKLCHoklch(51.4% 0.155 334.8)
XYZxyz(19.5827, 12.0440, 25.3332)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3D8A #3D9A4D
analogous
#7C3D9A #9A3D8A #9A3D5B
triadic
#9A3D8A #8A9A3D #3D8A9A
tetradic
#9A3D8A #9A7C3D #3D9A4D #3D5B9A
square
#9A3D8A #9A7C3D #3D9A4D #3D5B9A
split-complementary
#9A3D8A #5B9A3D #3D9A7C
monochromatic
#421A3B #6E2C63 #9A3D8A #BD58AB #CE83C1

Accessibility & contrast

On white

6.16
#9A3D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9A3D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3D8A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3D8A#FFFFFF#000000##FFFFFF
##9A3D8A1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#596688
Tritanopia (blue-blind)
#A1435E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a3d8a;
/* rgb */ color: rgb(154, 61, 138);
/* oklch */ color: oklch(51.4% 0.155 334.8);
Tailwind
colors: {
  custom: {
    50: '#ba78ac',
    500: '#9a3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #9a3d8a;
$custom-light: #ba78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3d8a",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 310.323,
    "s": 43.256,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51397,
    "c": 0.1551,
    "h": 334.8
  },
  "luminance": 0.12042
}

Semantic roles & 50–950 ramp

primary
#9A3D8A
secondary
#7BB885
accent
#D36B55
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9A3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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