#96339A#96339A

#96339A is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.5% C 0.180 H 326.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#96339A
RGBrgb(150, 51, 154)
HSLhsl(298, 50%, 40%)
HSVhsv(298, 67%, 60%)
CMYKcmyk(2.6%, 66.9%, 0%, 39.6%)
CIE-LABlab(39.89, 54.45, -36.18)
CIE-LCHlch(39.89, 65.38, 326.40°)
OKLaboklab(50.52% 0.1499 -0.1003)
OKLCHoklch(50.52% 0.18 326.2)
XYZxyz(19.5939, 11.1860, 31.6927)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96339A #379A33
analogous
#62339A #96339A #9A336A
triadic
#96339A #9A9633 #339A96
tetradic
#96339A #9A6233 #379A33 #336A9A
square
#96339A #9A6233 #379A33 #336A9A
split-complementary
#96339A #6A9A33 #339A62
monochromatic
#3C153E #69246C #96339A #BE48C2 #CE76D2

Accessibility & contrast

On white

6.49
#96339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#96339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96339A
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96339A#FFFFFF#000000##FFFFFF
##96339A1.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)
#21569D
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#9A4262
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #96339a;
/* rgb */ color: rgb(150, 51, 154);
/* oklch */ color: oklch(50.5% 0.180 326.2);
Tailwind
colors: {
  custom: {
    50: '#b873b8',
    500: '#96339a',
    950: '#000000',
  },
}
SCSS
$custom: #96339a;
$custom-light: #b873b8;
$custom-dark: #000000;
JSON
{
  "hex": "#96339a",
  "rgb": {
    "r": 150,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 297.67,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50521,
    "c": 0.18038,
    "h": 326.2
  },
  "luminance": 0.11185
}

Semantic roles & 50–950 ramp

primary
#96339A
secondary
#72BA6F
accent
#DA4E53
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #96339A

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

Preview Lab → · Contrast checker → · Palette generator →

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