#9338A2#9338A2

#9338A2 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.179 H 321.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9338A2
RGBrgb(147, 56, 162)
HSLhsl(292, 49%, 43%)
HSVhsv(292, 65%, 64%)
CMYKcmyk(9.3%, 65.4%, 0%, 36.5%)
CIE-LABlab(40.64, 53.10, -39.83)
CIE-LCHlch(40.64, 66.38, 323.12°)
OKLaboklab(51.11% 0.1407 -0.111)
OKLCHoklch(51.11% 0.179 321.7)
XYZxyz(19.9677, 11.6411, 35.3706)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338A2 #47A238
analogous
#5E38A2 #9338A2 #A2387C
triadic
#9338A2 #A29338 #38A293
tetradic
#9338A2 #A25E38 #47A238 #387CA2
square
#9338A2 #A25E38 #47A238 #387CA2
split-complementary
#9338A2 #7CA238 #38A25E
monochromatic
#401947 #6A2875 #9338A2 #B453C4 #C881D3

Accessibility & contrast

On white

6.31
#9338A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9338A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338A2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338A2#FFFFFF#000000##FFFFFF
##9338A21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#954968
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9338a2;
/* rgb */ color: rgb(147, 56, 162);
/* oklch */ color: oklch(51.1% 0.179 321.7);
Tailwind
colors: {
  custom: {
    50: '#b675be',
    500: '#9338a2',
    950: '#000000',
  },
}
SCSS
$custom: #9338a2;
$custom-light: #b675be;
$custom-dark: #000000;
JSON
{
  "hex": "#9338a2",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 291.509,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51114,
    "c": 0.17926,
    "h": 321.7
  },
  "luminance": 0.1164
}

Semantic roles & 50–950 ramp

primary
#9338A2
secondary
#82BD79
accent
#D85063
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9338A2

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

Preview Lab → · Contrast checker → · Palette generator →

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