#9342CD#9342CD

#9342CD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.208 H 307.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9342CD
RGBrgb(147, 66, 205)
HSLhsl(275, 58%, 53%)
HSVhsv(275, 68%, 80%)
CMYKcmyk(28.3%, 67.8%, 0%, 19.6%)
CIE-LABlab(44.95, 57.63, -58.17)
CIE-LCHlch(44.95, 81.88, 314.73°)
OKLaboklab(55.08% 0.127 -0.1648)
OKLCHoklch(55.08% 0.208 307.6)
XYZxyz(24.9980, 14.5076, 59.2291)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342CD #7CCD42
analogous
#4D42CD #9342CD #CD42C1
triadic
#9342CD #CD9342 #42CD93
tetradic
#9342CD #CD4D42 #7CCD42 #42C1CD
square
#9342CD #CD4D42 #7CCD42 #42C1CD
split-complementary
#9342CD #C1CD42 #42CD4D
monochromatic
#511F76 #732CA6 #9342CD #AF72DA #CAA3E7

Accessibility & contrast

On white

5.38
#9342CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9342CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342CD#FFFFFF#000000##FFFFFF
##9342CD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#216BCA
Tritanopia (blue-blind)
#8A6082
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9342cd;
/* rgb */ color: rgb(147, 66, 205);
/* oklch */ color: oklch(55.1% 0.208 307.6);
Tailwind
colors: {
  custom: {
    50: '#b77cdd',
    500: '#9342cd',
    950: '#000000',
  },
}
SCSS
$custom: #9342cd;
$custom-light: #b77cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9342cd",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 274.964,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55079,
    "c": 0.20808,
    "h": 307.6
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#9342CD
secondary
#B0D397
accent
#E14687
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9342CD

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

Preview Lab → · Contrast checker → · Palette generator →

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