#9342D9#9342D9

#9342D9 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.9% C 0.220 H 304.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9342D9
RGBrgb(147, 66, 217)
HSLhsl(272, 67%, 55%)
HSVhsv(272, 70%, 85%)
CMYKcmyk(32.3%, 69.6%, 0%, 14.9%)
CIE-LABlab(45.78, 60.34, -63.72)
CIE-LCHlch(45.78, 87.76, 313.44°)
OKLaboklab(55.94% 0.1255 -0.1811)
OKLCHoklch(55.94% 0.22 304.7)
XYZxyz(26.5024, 15.1094, 67.1524)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342D9 #88D942
analogous
#4742D9 #9342D9 #D942D4
triadic
#9342D9 #D99342 #42D993
tetradic
#9342D9 #D94742 #88D942 #42D4D9
square
#9342D9 #D94742 #88D942 #42D4D9
split-complementary
#9342D9 #D4D942 #42D947
monochromatic
#541B86 #7425B9 #9342D9 #B075E3 #CDA8ED

Accessibility & contrast

On white

5.22
#9342D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9342D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342D9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342D9#FFFFFF#000000##FFFFFF
##9342D91.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#866589
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9342d9;
/* rgb */ color: rgb(147, 66, 217);
/* oklch */ color: oklch(55.9% 0.220 304.7);
Tailwind
colors: {
  custom: {
    50: '#b87de6',
    500: '#9342d9',
    950: '#000000',
  },
}
SCSS
$custom: #9342d9;
$custom-light: #b87de6;
$custom-dark: #000000;
JSON
{
  "hex": "#9342d9",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 272.185,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55935,
    "c": 0.22032,
    "h": 304.7
  },
  "luminance": 0.15109
}

Semantic roles & 50–950 ramp

primary
#9342D9
secondary
#B9DB9C
accent
#E93E8E
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9342D9

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

Preview Lab → · Contrast checker → · Palette generator →

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