#9342C5#9342C5

#9342C5 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.5% C 0.200 H 309.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9342C5
RGBrgb(147, 66, 197)
HSLhsl(277, 53%, 52%)
HSVhsv(277, 66%, 77%)
CMYKcmyk(25.4%, 66.5%, 0%, 22.7%)
CIE-LABlab(44.42, 55.85, -54.40)
CIE-LCHlch(44.42, 77.96, 315.75°)
OKLaboklab(54.53% 0.1278 -0.1537)
OKLCHoklch(54.53% 0.2 309.7)
XYZxyz(24.0569, 14.1312, 54.2728)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342C5 #74C542
analogous
#5242C5 #9342C5 #C542B6
triadic
#9342C5 #C59342 #42C593
tetradic
#9342C5 #C55242 #74C542 #42B6C5
square
#9342C5 #C55242 #74C542 #42B6C5
split-complementary
#9342C5 #B6C542 #42C552
monochromatic
#4F216C #722F9A #9342C5 #AE71D3 #C9A0E2

Accessibility & contrast

On white

5.49
#9342C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9342C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342C5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342C5#FFFFFF#000000##FFFFFF
##9342C51.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#2E6AC2
Tritanopia (blue-blind)
#8C5D7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9342c5;
/* rgb */ color: rgb(147, 66, 197);
/* oklch */ color: oklch(54.5% 0.200 309.7);
Tailwind
colors: {
  custom: {
    50: '#b77cd7',
    500: '#9342c5',
    950: '#000000',
  },
}
SCSS
$custom: #9342c5;
$custom-light: #b77cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#9342c5",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 277.099,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.19991,
    "h": 309.7
  },
  "luminance": 0.14131
}

Semantic roles & 50–950 ramp

primary
#9342C5
secondary
#ABCE95
accent
#DC4B83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9342C5

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

Preview Lab → · Contrast checker → · Palette generator →

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