#9A337D#9A337D

#9A337D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.160 H 340.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9A337D
RGBrgb(154, 51, 125)
HSLhsl(317, 50%, 40%)
HSVhsv(317, 67%, 60%)
CMYKcmyk(0%, 66.9%, 18.8%, 39.6%)
CIE-LABlab(39.10, 50.74, -19.64)
CIE-LCHlch(39.10, 54.40, 338.84°)
OKLaboklab(49.61% 0.1511 -0.0528)
OKLCHoklch(49.61% 0.16 340.7)
XYZxyz(18.2124, 10.7200, 20.5081)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A337D #339A50
analogous
#83339A #9A337D #9A334A
triadic
#9A337D #7D9A33 #337D9A
tetradic
#9A337D #9A8333 #339A50 #334A9A
square
#9A337D #9A8333 #339A50 #334A9A
split-complementary
#9A337D #4A9A33 #339A83
monochromatic
#3E1532 #6C2458 #9A337D #C248A0 #D276B8

Accessibility & contrast

On white

6.68
#9A337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9A337D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A337D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A337D#FFFFFF#000000##FFFFFF
##9A337D1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A527F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#A33553
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a337d;
/* rgb */ color: rgb(154, 51, 125);
/* oklch */ color: oklch(49.6% 0.160 340.7);
Tailwind
colors: {
  custom: {
    50: '#bb72a2',
    500: '#9a337d',
    950: '#000000',
  },
}
SCSS
$custom: #9a337d;
$custom-light: #bb72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a337d",
  "rgb": {
    "r": 154,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 316.893,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.16008,
    "h": 340.7
  },
  "luminance": 0.10718
}

Semantic roles & 50–950 ramp

primary
#9A337D
secondary
#6FBA84
accent
#DA754E
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A337D

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

Preview Lab → · Contrast checker → · Palette generator →

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