#9C339F#9C339F

#9C339F is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.188 H 326.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9C339F
RGBrgb(156, 51, 159)
HSLhsl(298, 51%, 41%)
HSVhsv(298, 68%, 62%)
CMYKcmyk(1.9%, 67.9%, 0%, 37.6%)
CIE-LABlab(41.12, 56.79, -37.18)
CIE-LCHlch(41.12, 67.88, 326.78°)
OKLaboklab(51.69% 0.1569 -0.103)
OKLCHoklch(51.69% 0.188 326.7)
XYZxyz(21.1518, 11.9402, 33.9848)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C339F #369F33
analogous
#66339F #9C339F #9F336C
triadic
#9C339F #9F9C33 #339F9C
tetradic
#9C339F #9F6633 #369F33 #336C9F
square
#9C339F #9F6633 #369F33 #336C9F
split-complementary
#9C339F #6C9F33 #339F66
monochromatic
#411542 #6F2471 #9C339F #C24AC5 #D179D4

Accessibility & contrast

On white

6.20
#9C339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9C339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C339F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C339F#FFFFFF#000000##FFFFFF
##9C339F1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#4C669C
Tritanopia (blue-blind)
#A04365
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c339f;
/* rgb */ color: rgb(156, 51, 159);
/* oklch */ color: oklch(51.7% 0.188 326.7);
Tailwind
colors: {
  custom: {
    50: '#bc74bc',
    500: '#9c339f',
    950: '#000000',
  },
}
SCSS
$custom: #9c339f;
$custom-light: #bc74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c339f",
  "rgb": {
    "r": 156,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 298.333,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.18773,
    "h": 326.7
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

primary
#9C339F
secondary
#74BC71
accent
#DB4D51
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C339F

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

Preview Lab → · Contrast checker → · Palette generator →

#9C339F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva