#96319F#96319F

#96319F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.187 H 324.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#96319F
RGBrgb(150, 49, 159)
HSLhsl(295, 53%, 41%)
HSVhsv(295, 69%, 62%)
CMYKcmyk(5.7%, 69.2%, 0%, 37.6%)
CIE-LABlab(39.89, 56.16, -39.19)
CIE-LCHlch(39.89, 68.48, 325.09°)
OKLaboklab(50.61% 0.1522 -0.109)
OKLCHoklch(50.61% 0.187 324.4)
XYZxyz(19.9335, 11.1851, 33.9032)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96319F #3A9F31
analogous
#5F319F #96319F #9F3171
triadic
#96319F #9F9631 #319F96
tetradic
#96319F #9F5F31 #3A9F31 #31719F
square
#96319F #9F5F31 #3A9F31 #31719F
split-complementary
#96319F #719F31 #319F5F
monochromatic
#3E1441 #6A2370 #96319F #BC47C6 #CD76D5

Accessibility & contrast

On white

6.49
#96319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#96319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96319F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96319F#FFFFFF#000000##FFFFFF
##96319F1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A2
Deuteranopia (green-blind)
#45629C
Tritanopia (blue-blind)
#994364
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #96319f;
/* rgb */ color: rgb(150, 49, 159);
/* oklch */ color: oklch(50.6% 0.187 324.4);
Tailwind
colors: {
  custom: {
    50: '#b872bc',
    500: '#96319f',
    950: '#000000',
  },
}
SCSS
$custom: #96319f;
$custom-light: #b872bc;
$custom-dark: #000000;
JSON
{
  "hex": "#96319f",
  "rgb": {
    "r": 150,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 295.091,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.18725,
    "h": 324.4
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#96319F
secondary
#75BD6F
accent
#DC4C57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #96319F

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

Preview Lab → · Contrast checker → · Palette generator →

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