#9A337B#9A337B

#9A337B is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.5% C 0.159 H 341.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9A337B
RGBrgb(154, 51, 123)
HSLhsl(318, 50%, 40%)
HSVhsv(318, 67%, 60%)
CMYKcmyk(0%, 66.9%, 20.1%, 39.6%)
CIE-LABlab(39.02, 50.44, -18.53)
CIE-LCHlch(39.02, 53.74, 339.83°)
OKLaboklab(49.52% 0.1507 -0.0497)
OKLCHoklch(49.52% 0.159 341.8)
XYZxyz(18.0859, 10.6694, 19.8420)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A337B #339A52
analogous
#85339A #9A337B #9A3348
triadic
#9A337B #7B9A33 #337B9A
tetradic
#9A337B #9A8533 #339A52 #33489A
square
#9A337B #9A8533 #339A52 #33489A
split-complementary
#9A337B #489A33 #339A85
monochromatic
#3E1532 #6C2456 #9A337B #C2489D #D276B6

Accessibility & contrast

On white

6.70
#9A337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9A337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A337B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A337B#FFFFFF#000000##FFFFFF
##9A337B1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#5A6279
Tritanopia (blue-blind)
#A33452
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a337b;
/* rgb */ color: rgb(154, 51, 123);
/* oklch */ color: oklch(49.5% 0.159 341.8);
Tailwind
colors: {
  custom: {
    50: '#bb72a1',
    500: '#9a337b',
    950: '#000000',
  },
}
SCSS
$custom: #9a337b;
$custom-light: #bb72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a337b",
  "rgb": {
    "r": 154,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 318.058,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49517,
    "c": 0.1587,
    "h": 341.8
  },
  "luminance": 0.10668
}

Semantic roles & 50–950 ramp

primary
#9A337B
secondary
#6FBA85
accent
#DA784E
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9A337B

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

Preview Lab → · Contrast checker → · Palette generator →

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