#7342B4#7342B4

#7342B4 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.173 H 299.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7342B4
RGBrgb(115, 66, 180)
HSLhsl(266, 46%, 48%)
HSVhsv(266, 63%, 71%)
CMYKcmyk(36.1%, 63.3%, 0%, 29.4%)
CIE-LABlab(39.30, 44.73, -52.91)
CIE-LCHlch(39.30, 69.29, 310.22°)
OKLaboklab(49.61% 0.0863 -0.1504)
OKLCHoklch(49.61% 0.173 299.9)
XYZxyz(17.2546, 10.8364, 44.3538)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342B4 #83B442
analogous
#424AB4 #7342B4 #AC42B4
triadic
#7342B4 #B47342 #42B473
tetradic
#7342B4 #B4424A #83B442 #42B4AC
square
#7342B4 #B4424A #83B442 #42B4AC
split-complementary
#7342B4 #B4AC42 #4AB442
monochromatic
#3A215A #563287 #7342B4 #936BC9 #B497D9

Accessibility & contrast

On white

6.63
#7342B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7342B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342B4
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342B4#FFFFFF#000000##FFFFFF
##7342B41.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#115CB2
Tritanopia (blue-blind)
#655B75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7342b4;
/* rgb */ color: rgb(115, 66, 180);
/* oklch */ color: oklch(49.6% 0.173 299.9);
Tailwind
colors: {
  custom: {
    50: '#a079cb',
    500: '#7342b4',
    950: '#000000',
  },
}
SCSS
$custom: #7342b4;
$custom-light: #a079cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7342b4",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 265.789,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49606,
    "c": 0.17342,
    "h": 299.9
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#7342B4
secondary
#ADC58D
accent
#D6529D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7342B4

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

Preview Lab → · Contrast checker → · Palette generator →

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