#9A328B#9A328B

#9A328B is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.172 H 334.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9A328B
RGBrgb(154, 50, 139)
HSLhsl(309, 51%, 40%)
HSVhsv(309, 68%, 60%)
CMYKcmyk(0%, 67.5%, 9.7%, 39.6%)
CIE-LABlab(39.61, 53.31, -27.47)
CIE-LCHlch(39.61, 59.97, 332.74°)
OKLaboklab(50.19% 0.1545 -0.075)
OKLCHoklch(50.19% 0.172 334.1)
XYZxyz(19.1274, 11.0169, 25.5402)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A328B #329A41
analogous
#75329A #9A328B #9A3257
triadic
#9A328B #8B9A32 #328B9A
tetradic
#9A328B #9A7532 #329A41 #32579A
square
#9A328B #9A7532 #329A41 #32579A
split-complementary
#9A328B #579A32 #329A75
monochromatic
#3E1438 #6C2361 #9A328B #C346B1 #D274C4

Accessibility & contrast

On white

6.56
#9A328B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9A328B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A328B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A328B#FFFFFF#000000##FFFFFF
##9A328B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548E
Deuteranopia (green-blind)
#536388
Tritanopia (blue-blind)
#A13A5A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a328b;
/* rgb */ color: rgb(154, 50, 139);
/* oklch */ color: oklch(50.2% 0.172 334.1);
Tailwind
colors: {
  custom: {
    50: '#bb72ad',
    500: '#9a328b',
    950: '#000000',
  },
}
SCSS
$custom: #9a328b;
$custom-light: #bb72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9a328b",
  "rgb": {
    "r": 154,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 308.654,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.50189,
    "c": 0.17175,
    "h": 334.1
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#9A328B
secondary
#6EBA79
accent
#DA624D
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A328B

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

Preview Lab → · Contrast checker → · Palette generator →

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