#9D339D#9D339D

#9D339D is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.187 H 327.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9D339D
RGBrgb(157, 51, 157)
HSLhsl(300, 51%, 41%)
HSVhsv(300, 68%, 62%)
CMYKcmyk(0%, 67.5%, 0%, 38.4%)
CIE-LABlab(41.17, 56.68, -35.89)
CIE-LCHlch(41.17, 67.09, 327.66°)
OKLaboklab(51.72% 0.158 -0.0993)
OKLCHoklch(51.72% 0.187 327.9)
XYZxyz(21.1740, 11.9715, 33.0872)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D339D #339D33
analogous
#68339D #9D339D #9D3368
triadic
#9D339D #9D9D33 #339D9D
tetradic
#9D339D #9D6833 #339D33 #33689D
square
#9D339D #9D6833 #339D33 #33689D
split-complementary
#9D339D #689D33 #339D68
monochromatic
#411541 #6F246F #9D339D #C449C4 #D377D3

Accessibility & contrast

On white

6.19
#9D339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D339D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D339D#FFFFFF#000000##FFFFFF
##9D339D1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#4E669A
Tritanopia (blue-blind)
#A24264
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d339d;
/* rgb */ color: rgb(157, 51, 157);
/* oklch */ color: oklch(51.7% 0.187 327.9);
Tailwind
colors: {
  custom: {
    50: '#bd74ba',
    500: '#9d339d',
    950: '#000000',
  },
}
SCSS
$custom: #9d339d;
$custom-light: #bd74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d339d",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 300,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.18659,
    "h": 327.9
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#9D339D
secondary
#70BB70
accent
#DA4D4D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D339D

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

Preview Lab → · Contrast checker → · Palette generator →

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