#9342BF#9342BF

#9342BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.194 H 311.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9342BF
RGBrgb(147, 66, 191)
HSLhsl(279, 49%, 50%)
HSVhsv(279, 65%, 75%)
CMYKcmyk(23%, 65.4%, 0%, 25.1%)
CIE-LABlab(44.03, 54.53, -51.53)
CIE-LCHlch(44.03, 75.03, 316.62°)
OKLaboklab(54.13% 0.1282 -0.1453)
OKLCHoklch(54.13% 0.194 311.4)
XYZxyz(23.3831, 13.8616, 50.7239)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342BF #6EBF42
analogous
#5442BF #9342BF #BF42AC
triadic
#9342BF #BF9342 #42BF93
tetradic
#9342BF #BF5442 #6EBF42 #42ACBF
square
#9342BF #BF5442 #6EBF42 #42ACBF
split-complementary
#9342BF #ACBF42 #42BF54
monochromatic
#4D2265 #703292 #9342BF #AD70CE #C79DDE

Accessibility & contrast

On white

5.57
#9342BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9342BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342BF#FFFFFF#000000##FFFFFF
##9342BF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#356ABC
Tritanopia (blue-blind)
#8E5B7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9342bf;
/* rgb */ color: rgb(147, 66, 191);
/* oklch */ color: oklch(54.1% 0.194 311.4);
Tailwind
colors: {
  custom: {
    50: '#b67cd3',
    500: '#9342bf',
    950: '#000000',
  },
}
SCSS
$custom: #9342bf;
$custom-light: #b67cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9342bf",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 278.88,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.19379,
    "h": 311.4
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#9342BF
secondary
#A6CA93
accent
#D94F7F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9342BF

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

Preview Lab → · Contrast checker → · Palette generator →

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