#7342D5#7342D5

#7342D5 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.212 H 292.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7342D5
RGBrgb(115, 66, 213)
HSLhsl(260, 64%, 55%)
HSVhsv(260, 69%, 84%)
CMYKcmyk(46%, 69%, 0%, 16.5%)
CIE-LABlab(41.76, 53.43, -68.14)
CIE-LCHlch(41.76, 86.59, 308.10°)
OKLaboklab(52.14% 0.0822 -0.1952)
OKLCHoklch(52.14% 0.212 292.8)
XYZxyz(21.0254, 12.3447, 64.2129)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342D5 #A4D542
analogous
#425BD5 #7342D5 #BC42D5
triadic
#7342D5 #D57342 #42D573
tetradic
#7342D5 #D5425B #A4D542 #42D5BC
square
#7342D5 #D5425B #A4D542 #42D5BC
split-complementary
#7342D5 #D5BC42 #5BD542
monochromatic
#3E1C80 #5628B2 #7342D5 #9874E0 #BDA6EB

Accessibility & contrast

On white

6.05
#7342D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7342D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342D5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342D5#FFFFFF#000000##FFFFFF
##7342D51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#566787
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7342d5;
/* rgb */ color: rgb(115, 66, 213);
/* oklch */ color: oklch(52.1% 0.212 292.8);
Tailwind
colors: {
  custom: {
    50: '#a37ae3',
    500: '#7342d5',
    950: '#000000',
  },
}
SCSS
$custom: #7342d5;
$custom-light: #a37ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#7342d5",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 260,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52142,
    "c": 0.21177,
    "h": 292.8
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#7342D5
secondary
#C4D89A
accent
#E741AF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7342D5

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

Preview Lab → · Contrast checker → · Palette generator →

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