#7342BD#7342BD

#7342BD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.184 H 297.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7342BD
RGBrgb(115, 66, 189)
HSLhsl(264, 48%, 50%)
HSVhsv(264, 65%, 74%)
CMYKcmyk(39.2%, 65.1%, 0%, 25.9%)
CIE-LABlab(39.94, 47.08, -57.17)
CIE-LCHlch(39.94, 74.06, 309.47°)
OKLaboklab(50.27% 0.0855 -0.1629)
OKLCHoklch(50.27% 0.184 297.7)
XYZxyz(18.2014, 11.2151, 49.3400)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342BD #8CBD42
analogous
#424FBD #7342BD #B042BD
triadic
#7342BD #BD7342 #42BD73
tetradic
#7342BD #BD424F #8CBD42 #42BDB0
square
#7342BD #BD424F #8CBD42 #42BDB0
split-complementary
#7342BD #BDB042 #4FBD42
monochromatic
#3C2262 #573290 #7342BD #956FCD #B69DDD

Accessibility & contrast

On white

6.48
#7342BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7342BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342BD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342BD#FFFFFF#000000##FFFFFF
##7342BD1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#615E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7342bd;
/* rgb */ color: rgb(115, 66, 189);
/* oklch */ color: oklch(50.3% 0.184 297.7);
Tailwind
colors: {
  custom: {
    50: '#a179d2',
    500: '#7342bd',
    950: '#000000',
  },
}
SCSS
$custom: #7342bd;
$custom-light: #a179d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7342bd",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 263.902,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.50268,
    "c": 0.18402,
    "h": 297.7
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#7342BD
secondary
#B3C992
accent
#D850A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7342BD

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

Preview Lab → · Contrast checker → · Palette generator →

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