#9342AE#9342AE

#9342AE is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.0% C 0.177 H 316.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9342AE
RGBrgb(147, 66, 174)
HSLhsl(285, 45%, 47%)
HSVhsv(285, 62%, 68%)
CMYKcmyk(15.5%, 62.1%, 0%, 31.8%)
CIE-LABlab(43.00, 50.91, -43.21)
CIE-LCHlch(43.00, 66.78, 319.68°)
OKLaboklab(53.04% 0.1286 -0.121)
OKLCHoklch(53.04% 0.177 316.8)
XYZxyz(21.6197, 13.1563, 41.4368)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342AE #5DAE42
analogous
#5D42AE #9342AE #AE4293
triadic
#9342AE #AE9342 #42AE93
tetradic
#9342AE #AE5D42 #5DAE42 #4293AE
square
#9342AE #AE5D42 #5DAE42 #4293AE
split-complementary
#9342AE #93AE42 #42AE5D
monochromatic
#482055 #6E3182 #9342AE #AE68C6 #C694D6

Accessibility & contrast

On white

5.78
#9342AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9342AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342AE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342AE#FFFFFF#000000##FFFFFF
##9342AE1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B1
Deuteranopia (green-blind)
#4468AB
Tritanopia (blue-blind)
#925572
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9342ae;
/* rgb */ color: rgb(147, 66, 174);
/* oklch */ color: oklch(53.0% 0.177 316.8);
Tailwind
colors: {
  custom: {
    50: '#b67bc7',
    500: '#9342ae',
    950: '#000000',
  },
}
SCSS
$custom: #9342ae;
$custom-light: #b67bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9342ae",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 285,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53045,
    "c": 0.17658,
    "h": 316.8
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

primary
#9342AE
secondary
#98C28A
accent
#D55374
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9342AE

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

Preview Lab → · Contrast checker → · Palette generator →

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