#7342D6#7342D6

#7342D6 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.2% C 0.213 H 292.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7342D6
RGBrgb(115, 66, 214)
HSLhsl(260, 64%, 55%)
HSVhsv(260, 69%, 84%)
CMYKcmyk(46.3%, 69.2%, 0%, 16.1%)
CIE-LABlab(41.84, 53.70, -68.58)
CIE-LCHlch(41.84, 87.10, 308.06°)
OKLaboklab(52.22% 0.082 -0.1965)
OKLCHoklch(52.22% 0.213 292.7)
XYZxyz(21.1527, 12.3956, 64.8834)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342D6 #A5D642
analogous
#425BD6 #7342D6 #BD42D6
triadic
#7342D6 #D67342 #42D673
tetradic
#7342D6 #D6425B #A5D642 #42D6BD
square
#7342D6 #D6425B #A5D642 #42D6BD
split-complementary
#7342D6 #D6BD42 #5BD642
monochromatic
#3E1C82 #5627B4 #7342D6 #9874E1 #BEA7EC

Accessibility & contrast

On white

6.04
#7342D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7342D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342D6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342D6#FFFFFF#000000##FFFFFF
##7342D61.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#556787
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7342d6;
/* rgb */ color: rgb(115, 66, 214);
/* oklch */ color: oklch(52.2% 0.213 292.7);
Tailwind
colors: {
  custom: {
    50: '#a37ae4',
    500: '#7342d6',
    950: '#000000',
  },
}
SCSS
$custom: #7342d6;
$custom-light: #a37ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#7342d6",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 214
  },
  "hsl": {
    "h": 259.865,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52223,
    "c": 0.2129,
    "h": 292.7
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#7342D6
secondary
#C4D99B
accent
#E740B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7342D6

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

Preview Lab → · Contrast checker → · Palette generator →

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