#9A3897#9A3897

#9A3897 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.5% C 0.173 H 329.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9A3897
RGBrgb(154, 56, 151)
HSLhsl(302, 47%, 41%)
HSVhsv(302, 64%, 60%)
CMYKcmyk(0%, 63.6%, 1.9%, 39.6%)
CIE-LABlab(41.11, 52.83, -32.40)
CIE-LCHlch(41.11, 61.98, 328.48°)
OKLaboklab(51.48% 0.1485 -0.0893)
OKLCHoklch(51.48% 0.173 329)
XYZxyz(20.3263, 11.9341, 30.5051)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3897 #389A3B
analogous
#6C389A #9A3897 #9A3866
triadic
#9A3897 #979A38 #38979A
tetradic
#9A3897 #9A6C38 #389A3B #38669A
square
#9A3897 #9A6C38 #389A3B #38669A
split-complementary
#9A3897 #669A38 #389A6C
monochromatic
#40173F #6D286B #9A3897 #BF50BC #D07DCD

Accessibility & contrast

On white

6.20
#9A3897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9A3897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3897
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3897#FFFFFF#000000##FFFFFF
##9A38971.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599A
Deuteranopia (green-blind)
#516694
Tritanopia (blue-blind)
#9F4462
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a3897;
/* rgb */ color: rgb(154, 56, 151);
/* oklch */ color: oklch(51.5% 0.173 329.0);
Tailwind
colors: {
  custom: {
    50: '#bb76b6',
    500: '#9a3897',
    950: '#000000',
  },
}
SCSS
$custom: #9a3897;
$custom-light: #bb76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3897",
  "rgb": {
    "r": 154,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 301.837,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.17323,
    "h": 329
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#9A3897
secondary
#75B977
accent
#D65651
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9A3897

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

Preview Lab → · Contrast checker → · Palette generator →

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