#9338A3#9338A3

#9338A3 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.2% C 0.180 H 321.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9338A3
RGBrgb(147, 56, 163)
HSLhsl(291, 49%, 43%)
HSVhsv(291, 66%, 64%)
CMYKcmyk(9.8%, 65.6%, 0%, 36.1%)
CIE-LABlab(40.70, 53.29, -40.34)
CIE-LCHlch(40.70, 66.83, 322.88°)
OKLaboklab(51.18% 0.1407 -0.1125)
OKLCHoklch(51.18% 0.18 321.4)
XYZxyz(20.0569, 11.6768, 35.8406)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338A3 #48A338
analogous
#5D38A3 #9338A3 #A3387D
triadic
#9338A3 #A39338 #38A393
tetradic
#9338A3 #A35D38 #48A338 #387DA3
square
#9338A3 #A35D38 #48A338 #387DA3
split-complementary
#9338A3 #7DA338 #38A35D
monochromatic
#411948 #6A2875 #9338A3 #B354C4 #C882D4

Accessibility & contrast

On white

6.30
#9338A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9338A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338A3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338A3#FFFFFF#000000##FFFFFF
##9338A31.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A6
Deuteranopia (green-blind)
#4463A0
Tritanopia (blue-blind)
#944A69
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9338a3;
/* rgb */ color: rgb(147, 56, 163);
/* oklch */ color: oklch(51.2% 0.180 321.4);
Tailwind
colors: {
  custom: {
    50: '#b675bf',
    500: '#9338a3',
    950: '#000000',
  },
}
SCSS
$custom: #9338a3;
$custom-light: #b675bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9338a3",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 163
  },
  "hsl": {
    "h": 291.028,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51175,
    "c": 0.18017,
    "h": 321.4
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#9338A3
secondary
#84BD79
accent
#D84F64
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9338A3

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

Preview Lab → · Contrast checker → · Palette generator →

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