#9342CA#9342CA

#9342CA is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.205 H 308.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9342CA
RGBrgb(147, 66, 202)
HSLhsl(276, 56%, 53%)
HSVhsv(276, 67%, 79%)
CMYKcmyk(27.2%, 67.3%, 0%, 20.8%)
CIE-LABlab(44.75, 56.95, -56.77)
CIE-LCHlch(44.75, 80.41, 315.09°)
OKLaboklab(54.87% 0.1273 -0.1607)
OKLCHoklch(54.87% 0.205 308.4)
XYZxyz(24.6393, 14.3641, 57.3402)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342CA #79CA42
analogous
#4F42CA #9342CA #CA42BD
triadic
#9342CA #CA9342 #42CA93
tetradic
#9342CA #CA4F42 #79CA42 #42BDCA
square
#9342CA #CA4F42 #79CA42 #42BDCA
split-complementary
#9342CA #BDCA42 #42CA4F
monochromatic
#512072 #732DA2 #9342CA #AE72D7 #CAA2E5

Accessibility & contrast

On white

5.42
#9342CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9342CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342CA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342CA#FFFFFF#000000##FFFFFF
##9342CA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#266BC7
Tritanopia (blue-blind)
#8B5F81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9342ca;
/* rgb */ color: rgb(147, 66, 202);
/* oklch */ color: oklch(54.9% 0.205 308.4);
Tailwind
colors: {
  custom: {
    50: '#b77cdb',
    500: '#9342ca',
    950: '#000000',
  },
}
SCSS
$custom: #9342ca;
$custom-light: #b77cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9342ca",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 275.735,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.20501,
    "h": 308.4
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#9342CA
secondary
#AED196
accent
#DF4885
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9342CA

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

Preview Lab → · Contrast checker → · Palette generator →

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