#9342CC#9342CC

#9342CC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.207 H 307.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9342CC
RGBrgb(147, 66, 204)
HSLhsl(275, 58%, 53%)
HSVhsv(275, 68%, 80%)
CMYKcmyk(27.9%, 67.6%, 0%, 20%)
CIE-LABlab(44.88, 57.40, -57.70)
CIE-LCHlch(44.88, 81.39, 314.85°)
OKLaboklab(55.01% 0.1271 -0.1634)
OKLCHoklch(55.01% 0.207 307.9)
XYZxyz(24.8777, 14.4595, 58.5954)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342CC #7BCC42
analogous
#4E42CC #9342CC #CC42C0
triadic
#9342CC #CC9342 #42CC93
tetradic
#9342CC #CC4E42 #7BCC42 #42C0CC
square
#9342CC #CC4E42 #7BCC42 #42C0CC
split-complementary
#9342CC #C0CC42 #42CC4E
monochromatic
#511F74 #732CA4 #9342CC #AF72D9 #CAA2E6

Accessibility & contrast

On white

5.40
#9342CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9342CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342CC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342CC#FFFFFF#000000##FFFFFF
##9342CC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#236BC9
Tritanopia (blue-blind)
#8A6082
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9342cc;
/* rgb */ color: rgb(147, 66, 204);
/* oklch */ color: oklch(55.0% 0.207 307.9);
Tailwind
colors: {
  custom: {
    50: '#b77cdc',
    500: '#9342cc',
    950: '#000000',
  },
}
SCSS
$custom: #9342cc;
$custom-light: #b77cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9342cc",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 275.217,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55009,
    "c": 0.20705,
    "h": 307.9
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#9342CC
secondary
#B0D397
accent
#E14787
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9342CC

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

Preview Lab → · Contrast checker → · Palette generator →

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