#9342BB#9342BB

#9342BB is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.9% C 0.190 H 312.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9342BB
RGBrgb(147, 66, 187)
HSLhsl(280, 48%, 50%)
HSVhsv(280, 65%, 73%)
CMYKcmyk(21.4%, 64.7%, 0%, 26.7%)
CIE-LABlab(43.78, 53.67, -49.60)
CIE-LCHlch(43.78, 73.08, 317.25°)
OKLaboklab(53.86% 0.1284 -0.1396)
OKLCHoklch(53.86% 0.19 312.6)
XYZxyz(22.9489, 13.6880, 48.4372)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342BB #6ABB42
analogous
#5642BB #9342BB #BB42A7
triadic
#9342BB #BB9342 #42BB93
tetradic
#9342BB #BB5642 #6ABB42 #42A7BB
square
#9342BB #BB5642 #6ABB42 #42A7BB
split-complementary
#9342BB #A7BB42 #42BB56
monochromatic
#4C2261 #6F328E #9342BB #AD6ECC #C79CDC

Accessibility & contrast

On white

5.62
#9342BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9342BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342BB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342BB#FFFFFF#000000##FFFFFF
##9342BB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#8F5A79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9342bb;
/* rgb */ color: rgb(147, 66, 187);
/* oklch */ color: oklch(53.9% 0.190 312.6);
Tailwind
colors: {
  custom: {
    50: '#b67cd0',
    500: '#9342bb',
    950: '#000000',
  },
}
SCSS
$custom: #9342bb;
$custom-light: #b67cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9342bb",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 280.165,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53865,
    "c": 0.18972,
    "h": 312.6
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#9342BB
secondary
#A3C891
accent
#D7507D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9342BB

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

Preview Lab → · Contrast checker → · Palette generator →

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