#9342BE#9342BE

#9342BE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 54.1% C 0.193 H 311.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9342BE
RGBrgb(147, 66, 190)
HSLhsl(279, 49%, 50%)
HSVhsv(279, 65%, 75%)
CMYKcmyk(22.6%, 65.3%, 0%, 25.5%)
CIE-LABlab(43.97, 54.31, -51.05)
CIE-LCHlch(43.97, 74.54, 316.77°)
OKLaboklab(54.06% 0.1283 -0.1439)
OKLCHoklch(54.06% 0.193 311.7)
XYZxyz(23.2734, 13.8178, 50.1463)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342BE #6DBE42
analogous
#5542BE #9342BE #BE42AB
triadic
#9342BE #BE9342 #42BE93
tetradic
#9342BE #BE5542 #6DBE42 #42ABBE
square
#9342BE #BE5542 #6DBE42 #42ABBE
split-complementary
#9342BE #ABBE42 #42BE55
monochromatic
#4D2263 #703291 #9342BE #AD70CE #C79DDD

Accessibility & contrast

On white

5.58
#9342BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9342BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342BE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342BE#FFFFFF#000000##FFFFFF
##9342BE1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#366ABB
Tritanopia (blue-blind)
#8E5B7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9342be;
/* rgb */ color: rgb(147, 66, 190);
/* oklch */ color: oklch(54.1% 0.193 311.7);
Tailwind
colors: {
  custom: {
    50: '#b67cd2',
    500: '#9342be',
    950: '#000000',
  },
}
SCSS
$custom: #9342be;
$custom-light: #b67cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9342be",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 279.194,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54061,
    "c": 0.19278,
    "h": 311.7
  },
  "luminance": 0.13817
}

Semantic roles & 50–950 ramp

primary
#9342BE
secondary
#A5CA92
accent
#D84F7F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9342BE

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

Preview Lab → · Contrast checker → · Palette generator →

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