#9342C8#9342C8

#9342C8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.203 H 308.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9342C8
RGBrgb(147, 66, 200)
HSLhsl(276, 55%, 52%)
HSVhsv(276, 67%, 78%)
CMYKcmyk(26.5%, 67%, 0%, 21.6%)
CIE-LABlab(44.62, 56.51, -55.82)
CIE-LCHlch(44.62, 79.43, 315.35°)
OKLaboklab(54.73% 0.1275 -0.1579)
OKLCHoklch(54.73% 0.203 308.9)
XYZxyz(24.4041, 14.2700, 56.1012)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342C8 #77C842
analogous
#5042C8 #9342C8 #C842BA
triadic
#9342C8 #C89342 #42C893
tetradic
#9342C8 #C85042 #77C842 #42BAC8
square
#9342C8 #C85042 #77C842 #42BAC8
split-complementary
#9342C8 #BAC842 #42C850
monochromatic
#50206F #722E9F #9342C8 #AE71D6 #C9A1E4

Accessibility & contrast

On white

5.45
#9342C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9342C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342C8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342C8#FFFFFF#000000##FFFFFF
##9342C81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#296BC5
Tritanopia (blue-blind)
#8B5E80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9342c8;
/* rgb */ color: rgb(147, 66, 200);
/* oklch */ color: oklch(54.7% 0.203 308.9);
Tailwind
colors: {
  custom: {
    50: '#b77cd9',
    500: '#9342c8',
    950: '#000000',
  },
}
SCSS
$custom: #9342c8;
$custom-light: #b77cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9342c8",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 276.269,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.20298,
    "h": 308.9
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#9342C8
secondary
#ADD096
accent
#DE4A84
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9342C8

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

Preview Lab → · Contrast checker → · Palette generator →

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