#9342BA#9342BA

#9342BA is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.189 H 312.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9342BA
RGBrgb(147, 66, 186)
HSLhsl(281, 48%, 49%)
HSVhsv(281, 65%, 73%)
CMYKcmyk(21%, 64.5%, 0%, 27.1%)
CIE-LABlab(43.72, 53.45, -49.12)
CIE-LCHlch(43.72, 72.59, 317.42°)
OKLaboklab(53.8% 0.1285 -0.1382)
OKLCHoklch(53.8% 0.189 312.9)
XYZxyz(22.8422, 13.6453, 47.8754)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342BA #69BA42
analogous
#5742BA #9342BA #BA42A5
triadic
#9342BA #BA9342 #42BA93
tetradic
#9342BA #BA5742 #69BA42 #42A5BA
square
#9342BA #BA5742 #69BA42 #42A5BA
split-complementary
#9342BA #A5BA42 #42BA57
monochromatic
#4C2260 #6F328D #9342BA #AD6ECB #C79BDB

Accessibility & contrast

On white

5.63
#9342BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9342BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342BA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342BA#FFFFFF#000000##FFFFFF
##9342BA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0463BE
Deuteranopia (green-blind)
#3A69B7
Tritanopia (blue-blind)
#8F5978
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9342ba;
/* rgb */ color: rgb(147, 66, 186);
/* oklch */ color: oklch(53.8% 0.189 312.9);
Tailwind
colors: {
  custom: {
    50: '#b67ccf',
    500: '#9342ba',
    950: '#000000',
  },
}
SCSS
$custom: #9342ba;
$custom-light: #b67ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#9342ba",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 280.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.538,
    "c": 0.1887,
    "h": 312.9
  },
  "luminance": 0.13645
}

Semantic roles & 50–950 ramp

primary
#9342BA
secondary
#A2C890
accent
#D7517C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9342BA

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

Preview Lab → · Contrast checker → · Palette generator →

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