#9339AA#9339AA

#9339AA is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.185 H 318.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9339AA
RGBrgb(147, 57, 170)
HSLhsl(288, 50%, 45%)
HSVhsv(288, 66%, 67%)
CMYKcmyk(13.5%, 66.5%, 0%, 33.3%)
CIE-LABlab(41.27, 54.23, -43.60)
CIE-LCHlch(41.27, 69.58, 321.20°)
OKLaboklab(51.72% 0.1395 -0.122)
OKLCHoklch(51.72% 0.185 318.8)
XYZxyz(20.7505, 12.0325, 39.2519)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9339AA #50AA39
analogous
#5B39AA #9339AA #AA3988
triadic
#9339AA #AA9339 #39AA93
tetradic
#9339AA #AA5B39 #50AA39 #3988AA
square
#9339AA #AA5B39 #50AA39 #3988AA
split-complementary
#9339AA #88AA39 #39AA5B
monochromatic
#441A4E #6B2A7C #9339AA #B159C7 #C687D7

Accessibility & contrast

On white

6.16
#9339AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9339AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9339AA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9339AA#FFFFFF#000000##FFFFFF
##9339AA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAD
Deuteranopia (green-blind)
#4064A7
Tritanopia (blue-blind)
#934D6D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9339aa;
/* rgb */ color: rgb(147, 57, 170);
/* oklch */ color: oklch(51.7% 0.185 318.8);
Tailwind
colors: {
  custom: {
    50: '#b676c4',
    500: '#9339aa',
    950: '#000000',
  },
}
SCSS
$custom: #9339aa;
$custom-light: #b676c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9339aa",
  "rgb": {
    "r": 147,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 287.788,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51719,
    "c": 0.18535,
    "h": 318.8
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#9339AA
secondary
#8CC17E
accent
#D94E6B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9339AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9339AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva