#7342BF#7342BF

#7342BF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.186 H 297.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7342BF
RGBrgb(115, 66, 191)
HSLhsl(264, 49%, 50%)
HSVhsv(264, 65%, 75%)
CMYKcmyk(39.8%, 65.4%, 0%, 25.1%)
CIE-LABlab(40.09, 47.60, -58.10)
CIE-LCHlch(40.09, 75.11, 309.32°)
OKLaboklab(50.42% 0.0853 -0.1657)
OKLCHoklch(50.42% 0.186 297.2)
XYZxyz(18.4200, 11.3025, 50.4912)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342BF #8EBF42
analogous
#424FBF #7342BF #B142BF
triadic
#7342BF #BF7342 #42BF73
tetradic
#7342BF #BF424F #8EBF42 #42BFB1
square
#7342BF #BF424F #8EBF42 #42BFB1
split-complementary
#7342BF #BFB142 #4FBF42
monochromatic
#3C2265 #573292 #7342BF #9570CE #B79DDE

Accessibility & contrast

On white

6.44
#7342BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7342BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342BF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342BF#FFFFFF#000000##FFFFFF
##7342BF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#605F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7342bf;
/* rgb */ color: rgb(115, 66, 191);
/* oklch */ color: oklch(50.4% 0.186 297.2);
Tailwind
colors: {
  custom: {
    50: '#a179d3',
    500: '#7342bf',
    950: '#000000',
  },
}
SCSS
$custom: #7342bf;
$custom-light: #a179d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7342bf",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 263.52,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50418,
    "c": 0.18636,
    "h": 297.2
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#7342BF
secondary
#B4CA93
accent
#D94FA3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7342BF

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

Preview Lab → · Contrast checker → · Palette generator →

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