#96339C#96339C

#96339C is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.6% C 0.182 H 325.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#96339C
RGBrgb(150, 51, 156)
HSLhsl(297, 51%, 41%)
HSVhsv(297, 67%, 61%)
CMYKcmyk(3.8%, 67.3%, 0%, 38.8%)
CIE-LABlab(40.00, 54.81, -37.21)
CIE-LCHlch(40.00, 66.25, 325.83°)
OKLaboklab(50.64% 0.15 -0.1033)
OKLCHoklch(50.64% 0.182 325.5)
XYZxyz(19.7618, 11.2532, 32.5772)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96339C #399C33
analogous
#61339C #96339C #9C336E
triadic
#96339C #9C9633 #339C96
tetradic
#96339C #9C6133 #399C33 #336E9C
square
#96339C #9C6133 #399C33 #336E9C
split-complementary
#96339C #6E9C33 #339C61
monochromatic
#3D1540 #6A246E #96339C #BC49C3 #CD77D3

Accessibility & contrast

On white

6.46
#96339C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#96339C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96339C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96339C#FFFFFF#000000##FFFFFF
##96339C1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569F
Deuteranopia (green-blind)
#486299
Tritanopia (blue-blind)
#9A4363
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #96339c;
/* rgb */ color: rgb(150, 51, 156);
/* oklch */ color: oklch(50.6% 0.182 325.5);
Tailwind
colors: {
  custom: {
    50: '#b873ba',
    500: '#96339c',
    950: '#000000',
  },
}
SCSS
$custom: #96339c;
$custom-light: #b873ba;
$custom-dark: #000000;
JSON
{
  "hex": "#96339c",
  "rgb": {
    "r": 150,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 296.571,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50638,
    "c": 0.1821,
    "h": 325.5
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#96339C
secondary
#74BB70
accent
#DA4E56
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #96339C

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

Preview Lab → · Contrast checker → · Palette generator →

#96339C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva