#96398B#96398B

#96398B is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.4% C 0.159 H 332.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#96398B
RGBrgb(150, 57, 139)
HSLhsl(307, 45%, 41%)
HSVhsv(307, 62%, 59%)
CMYKcmyk(0%, 62%, 7.3%, 41.2%)
CIE-LABlab(40.04, 49.26, -26.84)
CIE-LCHlch(40.04, 56.09, 331.42°)
OKLaboklab(50.38% 0.1414 -0.0734)
OKLCHoklch(50.38% 0.159 332.6)
XYZxyz(18.7010, 11.2757, 25.6126)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96398B #399644
analogous
#723996 #96398B #96395C
triadic
#96398B #8B9639 #398B96
tetradic
#96398B #967239 #399644 #395C96
square
#96398B #967239 #399644 #395C96
split-complementary
#96398B #5C9639 #399672
monochromatic
#3D1739 #6A2862 #96398B #BC50B0 #CD7CC4

Accessibility & contrast

On white

6.45
#96398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#96398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96398B
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96398B#FFFFFF#000000##FFFFFF
##96398B1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568E
Deuteranopia (green-blind)
#546389
Tritanopia (blue-blind)
#9C415C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #96398b;
/* rgb */ color: rgb(150, 57, 139);
/* oklch */ color: oklch(50.4% 0.159 332.6);
Tailwind
colors: {
  custom: {
    50: '#b876ad',
    500: '#96398b',
    950: '#000000',
  },
}
SCSS
$custom: #96398b;
$custom-light: #b876ad;
$custom-dark: #000000;
JSON
{
  "hex": "#96398b",
  "rgb": {
    "r": 150,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 307.097,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.15927,
    "h": 332.6
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#96398B
secondary
#74B77C
accent
#D56253
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #96398B

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

Preview Lab → · Contrast checker → · Palette generator →

#96398B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva