#7342B8#7342B8

#7342B8 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.9% C 0.178 H 298.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7342B8
RGBrgb(115, 66, 184)
HSLhsl(265, 47%, 49%)
HSVhsv(265, 64%, 72%)
CMYKcmyk(37.5%, 64.1%, 0%, 27.8%)
CIE-LABlab(39.58, 45.77, -54.81)
CIE-LCHlch(39.58, 71.41, 309.86°)
OKLaboklab(49.9% 0.086 -0.156)
OKLCHoklch(49.9% 0.178 298.9)
XYZxyz(17.6680, 11.0017, 46.5308)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342B8 #87B842
analogous
#424CB8 #7342B8 #AE42B8
triadic
#7342B8 #B87342 #42B873
tetradic
#7342B8 #B8424C #87B842 #42B8AE
square
#7342B8 #B8424C #87B842 #42B8AE
split-complementary
#7342B8 #B8AE42 #4CB842
monochromatic
#3B225E #57328B #7342B8 #946DCB #B59ADB

Accessibility & contrast

On white

6.56
#7342B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7342B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342B8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342B8#FFFFFF#000000##FFFFFF
##7342B81.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#025CB5
Tritanopia (blue-blind)
#635C77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7342b8;
/* rgb */ color: rgb(115, 66, 184);
/* oklch */ color: oklch(49.9% 0.178 298.9);
Tailwind
colors: {
  custom: {
    50: '#a079ce',
    500: '#7342b8',
    950: '#000000',
  },
}
SCSS
$custom: #7342b8;
$custom-light: #a079ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7342b8",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 264.915,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49897,
    "c": 0.17814,
    "h": 298.9
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#7342B8
secondary
#B0C78F
accent
#D7519F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7342B8

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

Preview Lab → · Contrast checker → · Palette generator →

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