#7342B5#7342B5

#7342B5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.7% C 0.175 H 299.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7342B5
RGBrgb(115, 66, 181)
HSLhsl(266, 47%, 48%)
HSVhsv(266, 64%, 71%)
CMYKcmyk(36.5%, 63.5%, 0%, 29%)
CIE-LABlab(39.37, 44.99, -53.39)
CIE-LCHlch(39.37, 69.82, 310.12°)
OKLaboklab(49.68% 0.0863 -0.1518)
OKLCHoklch(49.68% 0.175 299.6)
XYZxyz(17.3569, 10.8773, 44.8922)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342B5 #84B542
analogous
#424AB5 #7342B5 #AC42B5
triadic
#7342B5 #B57342 #42B573
tetradic
#7342B5 #B5424A #84B542 #42B5AC
square
#7342B5 #B5424A #84B542 #42B5AC
split-complementary
#7342B5 #B5AC42 #4AB542
monochromatic
#3A215B #573288 #7342B5 #936BC9 #B498D9

Accessibility & contrast

On white

6.61
#7342B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7342B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342B5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342B5#FFFFFF#000000##FFFFFF
##7342B51.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0E5CB3
Tritanopia (blue-blind)
#645B75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7342b5;
/* rgb */ color: rgb(115, 66, 181);
/* oklch */ color: oklch(49.7% 0.175 299.6);
Tailwind
colors: {
  custom: {
    50: '#a079cc',
    500: '#7342b5',
    950: '#000000',
  },
}
SCSS
$custom: #7342b5;
$custom-light: #a079cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7342b5",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 265.565,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49678,
    "c": 0.1746,
    "h": 299.6
  },
  "luminance": 0.10877
}

Semantic roles & 50–950 ramp

primary
#7342B5
secondary
#AEC58E
accent
#D6529E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7342B5

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

Preview Lab → · Contrast checker → · Palette generator →

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