#9338AE#9338AE

#9338AE is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.190 H 317.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9338AE
RGBrgb(147, 56, 174)
HSLhsl(286, 51%, 45%)
HSVhsv(286, 68%, 68%)
CMYKcmyk(15.5%, 67.8%, 0%, 31.8%)
CIE-LABlab(41.36, 55.46, -45.84)
CIE-LCHlch(41.36, 71.95, 320.43°)
OKLaboklab(51.86% 0.1405 -0.1286)
OKLCHoklch(51.86% 0.19 317.5)
XYZxyz(21.0857, 12.0883, 41.2588)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338AE #53AE38
analogous
#5838AE #9338AE #AE388E
triadic
#9338AE #AE9338 #38AE93
tetradic
#9338AE #AE5838 #53AE38 #388EAE
square
#9338AE #AE5838 #53AE38 #388EAE
split-complementary
#9338AE #8EAE38 #38AE58
monochromatic
#451A51 #6C2980 #9338AE #B059CA #C688D9

Accessibility & contrast

On white

6.15
#9338AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9338AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338AE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338AE#FFFFFF#000000##FFFFFF
##9338AE1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#3C64AB
Tritanopia (blue-blind)
#924E6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9338ae;
/* rgb */ color: rgb(147, 56, 174);
/* oklch */ color: oklch(51.9% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#b676c7',
    500: '#9338ae',
    950: '#000000',
  },
}
SCSS
$custom: #9338ae;
$custom-light: #b676c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9338ae",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 286.271,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.19044,
    "h": 317.5
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9338AE

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

Preview Lab → · Contrast checker → · Palette generator →

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