#96339F#96339F

#96339F is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.185 H 324.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#96339F
RGBrgb(150, 51, 159)
HSLhsl(295, 51%, 41%)
HSVhsv(295, 68%, 62%)
CMYKcmyk(5.7%, 67.9%, 0%, 37.6%)
CIE-LABlab(40.17, 55.36, -38.74)
CIE-LCHlch(40.17, 67.57, 325.01°)
OKLaboklab(50.82% 0.15 -0.1077)
OKLCHoklch(50.82% 0.185 324.3)
XYZxyz(20.0190, 11.3561, 33.9317)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96339F #3C9F33
analogous
#60339F #96339F #9F3372
triadic
#96339F #9F9633 #339F96
tetradic
#96339F #9F6033 #3C9F33 #33729F
square
#96339F #9F6033 #3C9F33 #33729F
split-complementary
#96339F #729F33 #339F60
monochromatic
#3F1542 #6A2471 #96339F #BB4AC5 #CC79D4

Accessibility & contrast

On white

6.42
#96339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#96339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96339F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96339F#FFFFFF#000000##FFFFFF
##96339F1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A57A2
Deuteranopia (green-blind)
#46639C
Tritanopia (blue-blind)
#994465
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #96339f;
/* rgb */ color: rgb(150, 51, 159);
/* oklch */ color: oklch(50.8% 0.185 324.3);
Tailwind
colors: {
  custom: {
    50: '#b873bc',
    500: '#96339f',
    950: '#000000',
  },
}
SCSS
$custom: #96339f;
$custom-light: #b873bc;
$custom-dark: #000000;
JSON
{
  "hex": "#96339f",
  "rgb": {
    "r": 150,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 295,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50815,
    "c": 0.1847,
    "h": 324.3
  },
  "luminance": 0.11355
}

Semantic roles & 50–950 ramp

primary
#96339F
secondary
#78BC71
accent
#DB4D59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #96339F

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

Preview Lab → · Contrast checker → · Palette generator →

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