#7342BC#7342BC

#7342BC is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.183 H 297.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7342BC
RGBrgb(115, 66, 188)
HSLhsl(264, 48%, 50%)
HSVhsv(264, 65%, 74%)
CMYKcmyk(38.8%, 64.9%, 0%, 26.3%)
CIE-LABlab(39.87, 46.81, -56.70)
CIE-LCHlch(39.87, 73.53, 309.55°)
OKLaboklab(50.19% 0.0856 -0.1615)
OKLCHoklch(50.19% 0.183 297.9)
XYZxyz(18.0932, 11.1718, 48.7703)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342BC #8BBC42
analogous
#424EBC #7342BC #B042BC
triadic
#7342BC #BC7342 #42BC73
tetradic
#7342BC #BC424E #8BBC42 #42BCB0
square
#7342BC #BC424E #8BBC42 #42BCB0
split-complementary
#7342BC #BCB042 #4EBC42
monochromatic
#3C2261 #57328F #7342BC #946FCC #B69CDC

Accessibility & contrast

On white

6.49
#7342BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7342BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342BC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342BC#FFFFFF#000000##FFFFFF
##7342BC1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#625E79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7342bc;
/* rgb */ color: rgb(115, 66, 188);
/* oklch */ color: oklch(50.2% 0.183 297.9);
Tailwind
colors: {
  custom: {
    50: '#a179d1',
    500: '#7342bc',
    950: '#000000',
  },
}
SCSS
$custom: #7342bc;
$custom-light: #a179d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7342bc",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 264.098,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50193,
    "c": 0.18285,
    "h": 297.9
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#7342BC
secondary
#B2C991
accent
#D850A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7342BC

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

Preview Lab → · Contrast checker → · Palette generator →

#7342BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva