#9342D7#9342D7

#9342D7 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.8% C 0.218 H 305.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9342D7
RGBrgb(147, 66, 215)
HSLhsl(273, 65%, 55%)
HSVhsv(273, 69%, 84%)
CMYKcmyk(31.6%, 69.3%, 0%, 15.7%)
CIE-LABlab(45.64, 59.89, -62.80)
CIE-LCHlch(45.64, 86.78, 313.64°)
OKLaboklab(55.79% 0.1258 -0.1784)
OKLCHoklch(55.79% 0.218 305.2)
XYZxyz(26.2438, 15.0059, 65.7907)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342D7 #86D742
analogous
#4842D7 #9342D7 #D742D1
triadic
#9342D7 #D79342 #42D793
tetradic
#9342D7 #D74842 #86D742 #42D1D7
square
#9342D7 #D74842 #86D742 #42D1D7
split-complementary
#9342D7 #D1D742 #42D748
monochromatic
#541C83 #7426B5 #9342D7 #B075E2 #CDA7EC

Accessibility & contrast

On white

5.25
#9342D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9342D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342D7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342D7#FFFFFF#000000##FFFFFF
##9342D71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#876488
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9342d7;
/* rgb */ color: rgb(147, 66, 215);
/* oklch */ color: oklch(55.8% 0.218 305.2);
Tailwind
colors: {
  custom: {
    50: '#b87de4',
    500: '#9342d7',
    950: '#000000',
  },
}
SCSS
$custom: #9342d7;
$custom-light: #b87de4;
$custom-dark: #000000;
JSON
{
  "hex": "#9342d7",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 272.617,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5579,
    "c": 0.21828,
    "h": 305.2
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#9342D7
secondary
#B8DA9B
accent
#E8408D
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9342D7

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

Preview Lab → · Contrast checker → · Palette generator →

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