#9A388A#9A388A

#9A388A is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.8% C 0.163 H 334.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9A388A
RGBrgb(154, 56, 138)
HSLhsl(310, 47%, 41%)
HSVhsv(310, 64%, 60%)
CMYKcmyk(0%, 63.6%, 10.4%, 39.6%)
CIE-LABlab(40.47, 50.63, -25.52)
CIE-LCHlch(40.47, 56.70, 333.26°)
OKLaboklab(50.8% 0.147 -0.0695)
OKLCHoklch(50.8% 0.163 334.7)
XYZxyz(19.3282, 11.5349, 25.2483)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A388A #389A48
analogous
#79389A #9A388A #9A3859
triadic
#9A388A #8A9A38 #388A9A
tetradic
#9A388A #9A7938 #389A48 #38599A
square
#9A388A #9A7938 #389A48 #38599A
split-complementary
#9A388A #599A38 #389A79
monochromatic
#40173A #6D2862 #9A388A #BF50AD #D07DC2

Accessibility & contrast

On white

6.35
#9A388A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9A388A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A388A
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A388A#FFFFFF#000000##FFFFFF
##9A388A1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#576587
Tritanopia (blue-blind)
#A13F5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a388a;
/* rgb */ color: rgb(154, 56, 138);
/* oklch */ color: oklch(50.8% 0.163 334.7);
Tailwind
colors: {
  custom: {
    50: '#bb75ac',
    500: '#9a388a',
    950: '#000000',
  },
}
SCSS
$custom: #9a388a;
$custom-light: #bb75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a388a",
  "rgb": {
    "r": 154,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 309.796,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.16258,
    "h": 334.7
  },
  "luminance": 0.11533
}

Semantic roles & 50–950 ramp

primary
#9A388A
secondary
#75B980
accent
#D66751
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9A388A

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

Preview Lab → · Contrast checker → · Palette generator →

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