#7342BB#7342BB

#7342BB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.182 H 298.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7342BB
RGBrgb(115, 66, 187)
HSLhsl(264, 48%, 50%)
HSVhsv(264, 65%, 73%)
CMYKcmyk(38.5%, 64.7%, 0%, 26.7%)
CIE-LABlab(39.80, 46.55, -56.23)
CIE-LCHlch(39.80, 73.00, 309.62°)
OKLaboklab(50.12% 0.0857 -0.1602)
OKLCHoklch(50.12% 0.182 298.2)
XYZxyz(17.9858, 11.1289, 48.2046)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342BB #8ABB42
analogous
#424DBB #7342BB #B042BB
triadic
#7342BB #BB7342 #42BB73
tetradic
#7342BB #BB424D #8ABB42 #42BBB0
square
#7342BB #BB424D #8ABB42 #42BBB0
split-complementary
#7342BB #BBB042 #4DBB42
monochromatic
#3B2261 #57328E #7342BB #946ECC #B69CDC

Accessibility & contrast

On white

6.51
#7342BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7342BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342BB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342BB#FFFFFF#000000##FFFFFF
##7342BB1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7342bb;
/* rgb */ color: rgb(115, 66, 187);
/* oklch */ color: oklch(50.1% 0.182 298.2);
Tailwind
colors: {
  custom: {
    50: '#a079d0',
    500: '#7342bb',
    950: '#000000',
  },
}
SCSS
$custom: #7342bb;
$custom-light: #a079d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7342bb",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 264.298,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50119,
    "c": 0.18167,
    "h": 298.2
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#7342BB
secondary
#B2C891
accent
#D750A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7342BB

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

Preview Lab → · Contrast checker → · Palette generator →

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