#9338AD#9338AD

#9338AD is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.190 H 317.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9338AD
RGBrgb(147, 56, 173)
HSLhsl(287, 51%, 45%)
HSVhsv(287, 68%, 68%)
CMYKcmyk(15%, 67.6%, 0%, 32.2%)
CIE-LABlab(41.29, 55.26, -45.34)
CIE-LCHlch(41.29, 71.48, 320.63°)
OKLaboklab(51.8% 0.1405 -0.1271)
OKLCHoklch(51.8% 0.19 317.9)
XYZxyz(20.9886, 12.0494, 40.7473)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338AD #52AD38
analogous
#5938AD #9338AD #AD388C
triadic
#9338AD #AD9338 #38AD93
tetradic
#9338AD #AD5938 #52AD38 #388CAD
square
#9338AD #AD5938 #52AD38 #388CAD
split-complementary
#9338AD #8CAD38 #38AD59
monochromatic
#441A51 #6C297F #9338AD #B059C9 #C687D8

Accessibility & contrast

On white

6.16
#9338AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9338AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9338AD#FFFFFF#000000##FFFFFF
##9338AD1.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)
#015CB0
Deuteranopia (green-blind)
#3D64AA
Tritanopia (blue-blind)
#924E6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9338ad;
/* rgb */ color: rgb(147, 56, 173);
/* oklch */ color: oklch(51.8% 0.190 317.9);
Tailwind
colors: {
  custom: {
    50: '#b676c6',
    500: '#9338ad',
    950: '#000000',
  },
}
SCSS
$custom: #9338ad;
$custom-light: #b676c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9338ad",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 286.667,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51797,
    "c": 0.1895,
    "h": 317.9
  },
  "luminance": 0.12049
}

Semantic roles & 50–950 ramp

primary
#9338AD
secondary
#8EC27F
accent
#DB4D6D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9338AD

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

Preview Lab → · Contrast checker → · Palette generator →

#9338AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva