#9A3E8A#9A3E8A

#9A3E8A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.5% C 0.154 H 334.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9A3E8A
RGBrgb(154, 62, 138)
HSLhsl(310, 43%, 42%)
HSVhsv(310, 60%, 60%)
CMYKcmyk(0%, 59.7%, 10.4%, 39.6%)
CIE-LABlab(41.46, 47.93, -23.98)
CIE-LCHlch(41.46, 53.59, 333.42°)
OKLaboklab(51.52% 0.139 -0.0652)
OKLCHoklch(51.52% 0.154 334.9)
XYZxyz(19.6366, 12.1517, 25.3511)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3E8A #3E9A4E
analogous
#7C3E9A #9A3E8A #9A3E5C
triadic
#9A3E8A #8A9A3E #3E8A9A
tetradic
#9A3E8A #9A7C3E #3E9A4E #3E5C9A
square
#9A3E8A #9A7C3E #3E9A4E #3E5C9A
split-complementary
#9A3E8A #5C9A3E #3E9A7C
monochromatic
#431B3C #6E2C63 #9A3E8A #BC59AB #CE85C1

Accessibility & contrast

On white

6.12
#9A3E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9A3E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3E8A
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3E8A#FFFFFF#000000##FFFFFF
##9A3E8A1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#A1445E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a3e8a;
/* rgb */ color: rgb(154, 62, 138);
/* oklch */ color: oklch(51.5% 0.154 334.9);
Tailwind
colors: {
  custom: {
    50: '#ba79ac',
    500: '#9a3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9a3e8a;
$custom-light: #ba79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3e8a",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 310.435,
    "s": 42.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.15355,
    "h": 334.9
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#9A3E8A
secondary
#7CB886
accent
#D26B55
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9A3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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