#9338A7#9338A7

#9338A7 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.184 H 319.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9338A7
RGBrgb(147, 56, 167)
HSLhsl(289, 50%, 44%)
HSVhsv(289, 66%, 65%)
CMYKcmyk(12%, 66.5%, 0%, 34.5%)
CIE-LABlab(40.93, 54.07, -42.35)
CIE-LCHlch(40.93, 68.68, 321.93°)
OKLaboklab(51.42% 0.1407 -0.1184)
OKLCHoklch(51.42% 0.184 319.9)
XYZxyz(20.4210, 11.8224, 37.7580)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338A7 #4CA738
analogous
#5B38A7 #9338A7 #A73883
triadic
#9338A7 #A79338 #38A793
tetradic
#9338A7 #A75B38 #4CA738 #3883A7
square
#9338A7 #A75B38 #4CA738 #3883A7
split-complementary
#9338A7 #83A738 #38A75B
monochromatic
#42194B #6B2979 #9338A7 #B256C6 #C784D6

Accessibility & contrast

On white

6.24
#9338A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9338A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338A7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338A7#FFFFFF#000000##FFFFFF
##9338A71.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145AAA
Deuteranopia (green-blind)
#4164A4
Tritanopia (blue-blind)
#944B6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9338a7;
/* rgb */ color: rgb(147, 56, 167);
/* oklch */ color: oklch(51.4% 0.184 319.9);
Tailwind
colors: {
  custom: {
    50: '#b676c2',
    500: '#9338a7',
    950: '#000000',
  },
}
SCSS
$custom: #9338a7;
$custom-light: #b676c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9338a7",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 167
  },
  "hsl": {
    "h": 289.189,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5142,
    "c": 0.18388,
    "h": 319.9
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#9338A7
secondary
#88BF7B
accent
#D94F68
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9338A7

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

Preview Lab → · Contrast checker → · Palette generator →

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