#96339D#96339D

#96339D is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.183 H 325.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#96339D
RGBrgb(150, 51, 157)
HSLhsl(296, 51%, 41%)
HSVhsv(296, 68%, 62%)
CMYKcmyk(4.5%, 67.5%, 0%, 38.4%)
CIE-LABlab(40.06, 55.00, -37.72)
CIE-LCHlch(40.06, 66.69, 325.55°)
OKLaboklab(50.7% 0.15 -0.1048)
OKLCHoklch(50.7% 0.183 325.1)
XYZxyz(19.8468, 11.2872, 33.0250)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96339D #3A9D33
analogous
#61339D #96339D #9D336F
triadic
#96339D #9D9633 #339D96
tetradic
#96339D #9D6133 #3A9D33 #336F9D
square
#96339D #9D6133 #3A9D33 #336F9D
split-complementary
#96339D #6F9D33 #339D61
monochromatic
#3E1541 #6A246F #96339D #BC49C4 #CD77D3

Accessibility & contrast

On white

6.45
#96339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#96339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96339D
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96339D#FFFFFF#000000##FFFFFF
##96339D1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D57A0
Deuteranopia (green-blind)
#47639A
Tritanopia (blue-blind)
#994364
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #96339d;
/* rgb */ color: rgb(150, 51, 157);
/* oklch */ color: oklch(50.7% 0.183 325.1);
Tailwind
colors: {
  custom: {
    50: '#b873ba',
    500: '#96339d',
    950: '#000000',
  },
}
SCSS
$custom: #96339d;
$custom-light: #b873ba;
$custom-dark: #000000;
JSON
{
  "hex": "#96339d",
  "rgb": {
    "r": 150,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 296.038,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50697,
    "c": 0.18297,
    "h": 325.1
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#96339D
secondary
#75BB70
accent
#DA4D57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #96339D

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

Preview Lab → · Contrast checker → · Palette generator →

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