#96319D#96319D

#96319D is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.186 H 325.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#96319D
RGBrgb(150, 49, 157)
HSLhsl(296, 52%, 40%)
HSVhsv(296, 69%, 62%)
CMYKcmyk(4.5%, 68.8%, 0%, 38.4%)
CIE-LABlab(39.78, 55.80, -38.17)
CIE-LCHlch(39.78, 67.60, 325.62°)
OKLaboklab(50.49% 0.1522 -0.1061)
OKLCHoklch(50.49% 0.186 325.1)
XYZxyz(19.7613, 11.1162, 32.9965)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96319D #389D31
analogous
#60319D #96319D #9D316E
triadic
#96319D #9D9631 #319D96
tetradic
#96319D #9D6031 #389D31 #316E9D
square
#96319D #9D6031 #389D31 #316E9D
split-complementary
#96319D #6E9D31 #319D60
monochromatic
#3D1440 #69226E #96319D #BD46C5 #CE75D4

Accessibility & contrast

On white

6.52
#96319D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#96319D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96319D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96319D#FFFFFF#000000##FFFFFF
##96319D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A0
Deuteranopia (green-blind)
#46629A
Tritanopia (blue-blind)
#994263
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #96319d;
/* rgb */ color: rgb(150, 49, 157);
/* oklch */ color: oklch(50.5% 0.186 325.1);
Tailwind
colors: {
  custom: {
    50: '#b872ba',
    500: '#96319d',
    950: '#000000',
  },
}
SCSS
$custom: #96319d;
$custom-light: #b872ba;
$custom-dark: #000000;
JSON
{
  "hex": "#96319d",
  "rgb": {
    "r": 150,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 296.111,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50492,
    "c": 0.18553,
    "h": 325.1
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

primary
#96319D
secondary
#73BC6E
accent
#DC4C55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #96319D

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

Preview Lab → · Contrast checker → · Palette generator →

#96319D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva