#9342AC#9342AC

#9342AC is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.9% C 0.175 H 317.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9342AC
RGBrgb(147, 66, 172)
HSLhsl(286, 45%, 47%)
HSVhsv(286, 62%, 67%)
CMYKcmyk(14.5%, 61.6%, 0%, 32.5%)
CIE-LABlab(42.88, 50.50, -42.22)
CIE-LCHlch(42.88, 65.82, 320.11°)
OKLaboklab(52.92% 0.1286 -0.118)
OKLCHoklch(52.92% 0.175 317.5)
XYZxyz(21.4262, 13.0789, 40.4176)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342AC #5BAC42
analogous
#5E42AC #9342AC #AC4290
triadic
#9342AC #AC9342 #42AC93
tetradic
#9342AC #AC5E42 #5BAC42 #4290AC
square
#9342AC #AC5E42 #5BAC42 #4290AC
split-complementary
#9342AC #90AC42 #42AC5E
monochromatic
#472054 #6D3180 #9342AC #AE67C5 #C693D6

Accessibility & contrast

On white

5.81
#9342AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9342AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342AC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342AC#FFFFFF#000000##FFFFFF
##9342AC1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#4568A9
Tritanopia (blue-blind)
#925471
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9342ac;
/* rgb */ color: rgb(147, 66, 172);
/* oklch */ color: oklch(52.9% 0.175 317.5);
Tailwind
colors: {
  custom: {
    50: '#b67bc5',
    500: '#9342ac',
    950: '#000000',
  },
}
SCSS
$custom: #9342ac;
$custom-light: #b67bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9342ac",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 285.849,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52924,
    "c": 0.17458,
    "h": 317.5
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

primary
#9342AC
secondary
#96C189
accent
#D45472
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #9342AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9342AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva