#9342BC#9342BC

#9342BC is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.9% C 0.191 H 312.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9342BC
RGBrgb(147, 66, 188)
HSLhsl(280, 48%, 50%)
HSVhsv(280, 65%, 74%)
CMYKcmyk(21.8%, 64.9%, 0%, 26.3%)
CIE-LABlab(43.84, 53.88, -50.09)
CIE-LCHlch(43.84, 73.57, 317.09°)
OKLaboklab(53.93% 0.1284 -0.1411)
OKLCHoklch(53.93% 0.191 312.3)
XYZxyz(23.0563, 13.7309, 49.0030)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342BC #6BBC42
analogous
#5642BC #9342BC #BC42A8
triadic
#9342BC #BC9342 #42BC93
tetradic
#9342BC #BC5642 #6BBC42 #42A8BC
square
#9342BC #BC5642 #6BBC42 #42A8BC
split-complementary
#9342BC #A8BC42 #42BC56
monochromatic
#4C2261 #70328F #9342BC #AD6FCC #C79CDC

Accessibility & contrast

On white

5.61
#9342BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9342BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342BC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342BC#FFFFFF#000000##FFFFFF
##9342BC1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#8E5A79
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9342bc;
/* rgb */ color: rgb(147, 66, 188);
/* oklch */ color: oklch(53.9% 0.191 312.3);
Tailwind
colors: {
  custom: {
    50: '#b67cd1',
    500: '#9342bc',
    950: '#000000',
  },
}
SCSS
$custom: #9342bc;
$custom-light: #b67cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9342bc",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 279.836,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.19073,
    "h": 312.3
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#9342BC
secondary
#A4C991
accent
#D8507E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9342BC

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

Preview Lab → · Contrast checker → · Palette generator →

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