#9342D6#9342D6

#9342D6 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.7% C 0.217 H 305.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9342D6
RGBrgb(147, 66, 214)
HSLhsl(273, 64%, 55%)
HSVhsv(273, 69%, 84%)
CMYKcmyk(31.3%, 69.2%, 0%, 16.1%)
CIE-LABlab(45.57, 59.66, -62.34)
CIE-LCHlch(45.57, 86.29, 313.74°)
OKLaboklab(55.72% 0.1259 -0.1771)
OKLCHoklch(55.72% 0.217 305.4)
XYZxyz(26.1157, 14.9547, 65.1160)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342D6 #85D642
analogous
#4942D6 #9342D6 #D642CF
triadic
#9342D6 #D69342 #42D693
tetradic
#9342D6 #D64942 #85D642 #42CFD6
square
#9342D6 #D64942 #85D642 #42CFD6
split-complementary
#9342D6 #CFD642 #42D649
monochromatic
#541C82 #7427B4 #9342D6 #B074E1 #CCA7EC

Accessibility & contrast

On white

5.26
#9342D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9342D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342D6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342D6#FFFFFF#000000##FFFFFF
##9342D61.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#036CD3
Tritanopia (blue-blind)
#876487
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9342d6;
/* rgb */ color: rgb(147, 66, 214);
/* oklch */ color: oklch(55.7% 0.217 305.4);
Tailwind
colors: {
  custom: {
    50: '#b87de3',
    500: '#9342d6',
    950: '#000000',
  },
}
SCSS
$custom: #9342d6;
$custom-light: #b87de3;
$custom-dark: #000000;
JSON
{
  "hex": "#9342d6",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 214
  },
  "hsl": {
    "h": 272.838,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.21726,
    "h": 305.4
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

primary
#9342D6
secondary
#B7D99B
accent
#E7408C
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9342D6

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

Preview Lab → · Contrast checker → · Palette generator →

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