#9342D4#9342D4

#9342D4 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.215 H 305.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9342D4
RGBrgb(147, 66, 212)
HSLhsl(273, 63%, 55%)
HSVhsv(273, 69%, 83%)
CMYKcmyk(30.7%, 68.9%, 0%, 16.9%)
CIE-LABlab(45.43, 59.20, -61.42)
CIE-LCHlch(45.43, 85.31, 313.95°)
OKLaboklab(55.57% 0.1262 -0.1744)
OKLCHoklch(55.57% 0.215 305.9)
XYZxyz(25.8619, 14.8532, 63.7791)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342D4 #83D442
analogous
#4A42D4 #9342D4 #D442CC
triadic
#9342D4 #D49342 #42D493
tetradic
#9342D4 #D44A42 #83D442 #42CCD4
square
#9342D4 #D44A42 #83D442 #42CCD4
split-complementary
#9342D4 #CCD442 #42D44A
monochromatic
#531D7F #7428B1 #9342D4 #AF74DF #CCA6EB

Accessibility & contrast

On white

5.29
#9342D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9342D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342D4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342D4#FFFFFF#000000##FFFFFF
##9342D41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0D6CD1
Tritanopia (blue-blind)
#886386
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9342d4;
/* rgb */ color: rgb(147, 66, 212);
/* oklch */ color: oklch(55.6% 0.215 305.9);
Tailwind
colors: {
  custom: {
    50: '#b87ce2',
    500: '#9342d4',
    950: '#000000',
  },
}
SCSS
$custom: #9342d4;
$custom-light: #b87ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#9342d4",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 273.288,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55574,
    "c": 0.21522,
    "h": 305.9
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

primary
#9342D4
secondary
#B6D89A
accent
#E6428B
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9342D4

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

Preview Lab → · Contrast checker → · Palette generator →

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