#9342CF#9342CF

#9342CF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.210 H 307.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9342CF
RGBrgb(147, 66, 207)
HSLhsl(274, 59%, 54%)
HSVhsv(274, 68%, 81%)
CMYKcmyk(29%, 68.1%, 0%, 18.8%)
CIE-LABlab(45.09, 58.07, -59.11)
CIE-LCHlch(45.09, 82.86, 314.50°)
OKLaboklab(55.22% 0.1268 -0.1675)
OKLCHoklch(55.22% 0.21 307.1)
XYZxyz(25.2409, 14.6048, 60.5087)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342CF #7ECF42
analogous
#4C42CF #9342CF #CF42C5
triadic
#9342CF #CF9342 #42CF93
tetradic
#9342CF #CF4C42 #7ECF42 #42C5CF
square
#9342CF #CF4C42 #7ECF42 #42C5CF
split-complementary
#9342CF #C5CF42 #42CF4C
monochromatic
#521F78 #732BA9 #9342CF #AF73DB #CBA4E8

Accessibility & contrast

On white

5.36
#9342CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9342CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342CF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342CF#FFFFFF#000000##FFFFFF
##9342CF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#1C6BCC
Tritanopia (blue-blind)
#896183
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9342cf;
/* rgb */ color: rgb(147, 66, 207);
/* oklch */ color: oklch(55.2% 0.210 307.1);
Tailwind
colors: {
  custom: {
    50: '#b77cde',
    500: '#9342cf',
    950: '#000000',
  },
}
SCSS
$custom: #9342cf;
$custom-light: #b77cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9342cf",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 274.468,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.21012,
    "h": 307.1
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#9342CF
secondary
#B2D598
accent
#E34588
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9342CF

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

Preview Lab → · Contrast checker → · Palette generator →

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