#9342CE#9342CE

#9342CE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.209 H 307.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9342CE
RGBrgb(147, 66, 206)
HSLhsl(275, 59%, 53%)
HSVhsv(275, 68%, 81%)
CMYKcmyk(28.6%, 68%, 0%, 19.2%)
CIE-LABlab(45.02, 57.85, -58.64)
CIE-LCHlch(45.02, 82.37, 314.61°)
OKLaboklab(55.15% 0.1269 -0.1662)
OKLCHoklch(55.15% 0.209 307.4)
XYZxyz(25.1191, 14.5560, 59.8669)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342CE #7DCE42
analogous
#4D42CE #9342CE #CE42C3
triadic
#9342CE #CE9342 #42CE93
tetradic
#9342CE #CE4D42 #7DCE42 #42C3CE
square
#9342CE #CE4D42 #7DCE42 #42C3CE
split-complementary
#9342CE #C3CE42 #42CE4D
monochromatic
#521F77 #732BA7 #9342CE #AF73DB #CBA3E7

Accessibility & contrast

On white

5.37
#9342CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9342CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342CE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342CE#FFFFFF#000000##FFFFFF
##9342CE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#1F6BCB
Tritanopia (blue-blind)
#896183
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9342ce;
/* rgb */ color: rgb(147, 66, 206);
/* oklch */ color: oklch(55.1% 0.209 307.4);
Tailwind
colors: {
  custom: {
    50: '#b77cde',
    500: '#9342ce',
    950: '#000000',
  },
}
SCSS
$custom: #9342ce;
$custom-light: #b77cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9342ce",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 274.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.2091,
    "h": 307.4
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#9342CE
secondary
#B1D498
accent
#E24688
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9342CE

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

Preview Lab → · Contrast checker → · Palette generator →

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