#96398E#96398E

#96398E is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.5% C 0.162 H 331.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#96398E
RGBrgb(150, 57, 142)
HSLhsl(305, 45%, 41%)
HSVhsv(305, 62%, 59%)
CMYKcmyk(0%, 62%, 5.3%, 41.2%)
CIE-LABlab(40.19, 49.77, -28.44)
CIE-LCHlch(40.19, 57.32, 330.26°)
OKLaboklab(50.53% 0.1417 -0.078)
OKLCHoklch(50.53% 0.162 331.2)
XYZxyz(18.9232, 11.3646, 26.7829)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96398E #399641
analogous
#6F3996 #96398E #96395F
triadic
#96398E #8E9639 #398E96
tetradic
#96398E #966F39 #399641 #395F96
square
#96398E #966F39 #399641 #395F96
split-complementary
#96398E #5F9639 #39966F
monochromatic
#3D173A #6A2864 #96398E #BC50B3 #CD7CC6

Accessibility & contrast

On white

6.42
#96398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#96398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96398E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96398E#FFFFFF#000000##FFFFFF
##96398E1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345691
Deuteranopia (green-blind)
#53638C
Tritanopia (blue-blind)
#9C425E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #96398e;
/* rgb */ color: rgb(150, 57, 142);
/* oklch */ color: oklch(50.5% 0.162 331.2);
Tailwind
colors: {
  custom: {
    50: '#b876af',
    500: '#96398e',
    950: '#000000',
  },
}
SCSS
$custom: #96398e;
$custom-light: #b876af;
$custom-dark: #000000;
JSON
{
  "hex": "#96398e",
  "rgb": {
    "r": 150,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 305.161,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.16177,
    "h": 331.2
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#96398E
secondary
#74B77A
accent
#D55E53
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #96398E

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

Preview Lab → · Contrast checker → · Palette generator →

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