#7342B9#7342B9

#7342B9 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.179 H 298.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7342B9
RGBrgb(115, 66, 185)
HSLhsl(265, 47%, 49%)
HSVhsv(265, 64%, 73%)
CMYKcmyk(37.8%, 64.3%, 0%, 27.5%)
CIE-LABlab(39.65, 46.03, -55.29)
CIE-LCHlch(39.65, 71.94, 309.78°)
OKLaboklab(49.97% 0.0859 -0.1574)
OKLCHoklch(49.97% 0.179 298.6)
XYZxyz(17.7732, 11.0438, 47.0848)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342B9 #88B942
analogous
#424DB9 #7342B9 #AF42B9
triadic
#7342B9 #B97342 #42B973
tetradic
#7342B9 #B9424D #88B942 #42B9AF
square
#7342B9 #B9424D #88B942 #42B9AF
split-complementary
#7342B9 #B9AF42 #4DB942
monochromatic
#3B225F #57328C #7342B9 #946DCB #B59ADB

Accessibility & contrast

On white

6.54
#7342B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7342B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342B9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342B9#FFFFFF#000000##FFFFFF
##7342B91.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#635D77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7342b9;
/* rgb */ color: rgb(115, 66, 185);
/* oklch */ color: oklch(50.0% 0.179 298.6);
Tailwind
colors: {
  custom: {
    50: '#a079cf',
    500: '#7342b9',
    950: '#000000',
  },
}
SCSS
$custom: #7342b9;
$custom-light: #a079cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7342b9",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 264.706,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49971,
    "c": 0.17932,
    "h": 298.6
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#7342B9
secondary
#B0C790
accent
#D751A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7342B9

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

Preview Lab → · Contrast checker → · Palette generator →

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