#7342BA#7342BA

#7342BA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.0% C 0.180 H 298.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7342BA
RGBrgb(115, 66, 186)
HSLhsl(265, 48%, 49%)
HSVhsv(265, 65%, 73%)
CMYKcmyk(38.2%, 64.5%, 0%, 27.1%)
CIE-LABlab(39.73, 46.29, -55.76)
CIE-LCHlch(39.73, 72.47, 309.70°)
OKLaboklab(50.04% 0.0858 -0.1588)
OKLCHoklch(50.04% 0.181 298.4)
XYZxyz(17.8791, 11.0862, 47.6427)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342BA #89BA42
analogous
#424DBA #7342BA #AF42BA
triadic
#7342BA #BA7342 #42BA73
tetradic
#7342BA #BA424D #89BA42 #42BAAF
square
#7342BA #BA424D #89BA42 #42BAAF
split-complementary
#7342BA #BAAF42 #4DBA42
monochromatic
#3B2260 #57328D #7342BA #946ECB #B59BDB

Accessibility & contrast

On white

6.53
#7342BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7342BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342BA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342BA#FFFFFF#000000##FFFFFF
##7342BA1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#625D78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7342ba;
/* rgb */ color: rgb(115, 66, 186);
/* oklch */ color: oklch(50.0% 0.180 298.4);
Tailwind
colors: {
  custom: {
    50: '#a079cf',
    500: '#7342ba',
    950: '#000000',
  },
}
SCSS
$custom: #7342ba;
$custom-light: #a079cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7342ba",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 264.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50045,
    "c": 0.1805,
    "h": 298.4
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7342BA

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

Preview Lab → · Contrast checker → · Palette generator →

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