#9342C7#9342C7

#9342C7 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.202 H 309.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9342C7
RGBrgb(147, 66, 199)
HSLhsl(277, 54%, 52%)
HSVhsv(277, 67%, 78%)
CMYKcmyk(26.1%, 66.8%, 0%, 22%)
CIE-LABlab(44.55, 56.29, -55.35)
CIE-LCHlch(44.55, 78.94, 315.48°)
OKLaboklab(54.66% 0.1276 -0.1565)
OKLCHoklch(54.66% 0.202 309.2)
XYZxyz(24.2876, 14.2234, 55.4877)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342C7 #76C742
analogous
#5042C7 #9342C7 #C742B9
triadic
#9342C7 #C79342 #42C793
tetradic
#9342C7 #C75042 #76C742 #42B9C7
square
#9342C7 #C75042 #76C742 #42B9C7
split-complementary
#9342C7 #B9C742 #42C750
monochromatic
#50216E #722F9D #9342C7 #AE71D5 #C9A0E3

Accessibility & contrast

On white

5.46
#9342C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9342C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342C7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342C7#FFFFFF#000000##FFFFFF
##9342C71.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#2B6AC4
Tritanopia (blue-blind)
#8B5E7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9342c7;
/* rgb */ color: rgb(147, 66, 199);
/* oklch */ color: oklch(54.7% 0.202 309.2);
Tailwind
colors: {
  custom: {
    50: '#b77cd9',
    500: '#9342c7',
    950: '#000000',
  },
}
SCSS
$custom: #9342c7;
$custom-light: #b77cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9342c7",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 276.541,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.20195,
    "h": 309.2
  },
  "luminance": 0.14223
}

Semantic roles & 50–950 ramp

primary
#9342C7
secondary
#ACD095
accent
#DE4A84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9342C7

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

Preview Lab → · Contrast checker → · Palette generator →

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