#9342BD#9342BD

#9342BD is a mid, vivid violet. Relative luminance 0.138; OKLCH L 54.0% C 0.192 H 312.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9342BD
RGBrgb(147, 66, 189)
HSLhsl(280, 48%, 50%)
HSVhsv(280, 65%, 74%)
CMYKcmyk(22.2%, 65.1%, 0%, 25.9%)
CIE-LABlab(43.91, 54.10, -50.57)
CIE-LCHlch(43.91, 74.05, 316.93°)
OKLaboklab(54% 0.1283 -0.1425)
OKLCHoklch(54% 0.192 312)
XYZxyz(23.1645, 13.7742, 49.5727)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342BD #6CBD42
analogous
#5542BD #9342BD #BD42AA
triadic
#9342BD #BD9342 #42BD93
tetradic
#9342BD #BD5542 #6CBD42 #42AABD
square
#9342BD #BD5542 #6CBD42 #42AABD
split-complementary
#9342BD #AABD42 #42BD55
monochromatic
#4C2262 #703290 #9342BD #AD6FCD #C79DDD

Accessibility & contrast

On white

5.59
#9342BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9342BD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342BD#FFFFFF#000000##FFFFFF
##9342BD1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#8E5A7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9342bd;
/* rgb */ color: rgb(147, 66, 189);
/* oklch */ color: oklch(54.0% 0.192 312.0);
Tailwind
colors: {
  custom: {
    50: '#b67cd1',
    500: '#9342bd',
    950: '#000000',
  },
}
SCSS
$custom: #9342bd;
$custom-light: #b67cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9342bd",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 279.512,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.19175,
    "h": 312
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9342BD

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

Preview Lab → · Contrast checker → · Palette generator →

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