#96318E#96318E

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

Color values

HEX#96318E
RGBrgb(150, 49, 142)
HSLhsl(305, 51%, 39%)
HSVhsv(305, 67%, 59%)
CMYKcmyk(0%, 67.3%, 5.3%, 41.2%)
CIE-LABlab(38.96, 53.18, -30.37)
CIE-LCHlch(38.96, 61.24, 330.27°)
OKLaboklab(49.64% 0.1516 -0.0834)
OKLCHoklch(49.64% 0.173 331.2)
XYZxyz(18.5584, 10.6351, 26.6613)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96318E #319639
analogous
#6C3196 #96318E #96315C
triadic
#96318E #8E9631 #318E96
tetradic
#96318E #966C31 #319639 #315C96
square
#96318E #966C31 #319639 #315C96
split-complementary
#96318E #5C9631 #31966C
monochromatic
#3A1337 #682262 #96318E #C143B7 #D171C9

Accessibility & contrast

On white

6.72
#96318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#96318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96318E
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96318E#FFFFFF#000000##FFFFFF
##96318E1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#4E618B
Tritanopia (blue-blind)
#9C3C5B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #96318e;
/* rgb */ color: rgb(150, 49, 142);
/* oklch */ color: oklch(49.6% 0.173 331.2);
Tailwind
colors: {
  custom: {
    50: '#b871af',
    500: '#96318e',
    950: '#000000',
  },
}
SCSS
$custom: #96318e;
$custom-light: #b871af;
$custom-dark: #000000;
JSON
{
  "hex": "#96318e",
  "rgb": {
    "r": 150,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 304.752,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49638,
    "c": 0.17303,
    "h": 331.2
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #96318E

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

Preview Lab → · Contrast checker → · Palette generator →

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