#7342BE#7342BE

#7342BE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.185 H 297.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7342BE
RGBrgb(115, 66, 190)
HSLhsl(264, 49%, 50%)
HSVhsv(264, 65%, 75%)
CMYKcmyk(39.5%, 65.3%, 0%, 25.5%)
CIE-LABlab(40.01, 47.34, -57.64)
CIE-LCHlch(40.01, 74.59, 309.40°)
OKLaboklab(50.34% 0.0854 -0.1643)
OKLCHoklch(50.34% 0.185 297.5)
XYZxyz(18.3103, 11.2587, 49.9137)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342BE #8DBE42
analogous
#424FBE #7342BE #B142BE
triadic
#7342BE #BE7342 #42BE73
tetradic
#7342BE #BE424F #8DBE42 #42BEB1
square
#7342BE #BE424F #8DBE42 #42BEB1
split-complementary
#7342BE #BEB142 #4FBE42
monochromatic
#3C2263 #573291 #7342BE #9570CE #B69DDD

Accessibility & contrast

On white

6.46
#7342BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7342BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342BE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342BE#FFFFFF#000000##FFFFFF
##7342BE1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#615F7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7342be;
/* rgb */ color: rgb(115, 66, 190);
/* oklch */ color: oklch(50.3% 0.185 297.5);
Tailwind
colors: {
  custom: {
    50: '#a179d2',
    500: '#7342be',
    950: '#000000',
  },
}
SCSS
$custom: #7342be;
$custom-light: #a179d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7342be",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 263.71,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.1852,
    "h": 297.5
  },
  "luminance": 0.11259
}

Semantic roles & 50–950 ramp

primary
#7342BE
secondary
#B4CA92
accent
#D84FA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7342BE

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

Preview Lab → · Contrast checker → · Palette generator →

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