#96318D#96318D

#96318D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.172 H 331.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#96318D
RGBrgb(150, 49, 141)
HSLhsl(305, 51%, 39%)
HSVhsv(305, 67%, 59%)
CMYKcmyk(0%, 67.3%, 6%, 41.2%)
CIE-LABlab(38.91, 53.01, -29.84)
CIE-LCHlch(38.91, 60.83, 330.63°)
OKLaboklab(49.58% 0.1515 -0.0819)
OKLCHoklch(49.58% 0.172 331.6)
XYZxyz(18.4837, 10.6052, 26.2676)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96318D #31963A
analogous
#6D3196 #96318D #96315B
triadic
#96318D #8D9631 #318D96
tetradic
#96318D #966D31 #31963A #315B96
square
#96318D #966D31 #31963A #315B96
split-complementary
#96318D #5B9631 #31966D
monochromatic
#3A1336 #682262 #96318D #C143B6 #D171C8

Accessibility & contrast

On white

6.73
#96318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#96318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96318D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96318D#FFFFFF#000000##FFFFFF
##96318D1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#9C3B5B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #96318d;
/* rgb */ color: rgb(150, 49, 141);
/* oklch */ color: oklch(49.6% 0.172 331.6);
Tailwind
colors: {
  custom: {
    50: '#b871ae',
    500: '#96318d',
    950: '#000000',
  },
}
SCSS
$custom: #96318d;
$custom-light: #b871ae;
$custom-dark: #000000;
JSON
{
  "hex": "#96318d",
  "rgb": {
    "r": 150,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 305.347,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.17222,
    "h": 331.6
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#96318D
secondary
#6AB871
accent
#DA5A4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96318D

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

Preview Lab → · Contrast checker → · Palette generator →

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