#7342D3#7342D3

#7342D3 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.209 H 293.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7342D3
RGBrgb(115, 66, 211)
HSLhsl(260, 62%, 54%)
HSVhsv(260, 69%, 83%)
CMYKcmyk(45.5%, 68.7%, 0%, 17.3%)
CIE-LABlab(41.60, 52.90, -67.24)
CIE-LCHlch(41.60, 85.56, 308.19°)
OKLaboklab(51.98% 0.0825 -0.1925)
OKLCHoklch(51.98% 0.209 293.2)
XYZxyz(20.7731, 12.2438, 62.8842)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342D3 #A2D342
analogous
#425AD3 #7342D3 #BC42D3
triadic
#7342D3 #D37342 #42D373
tetradic
#7342D3 #D3425A #A2D342 #42D3BC
square
#7342D3 #D3425A #A2D342 #42D3BC
split-complementary
#7342D3 #D3BC42 #5AD342
monochromatic
#3E1D7D #5629AF #7342D3 #9874DF #BDA5EA

Accessibility & contrast

On white

6.09
#7342D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7342D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342D3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342D3#FFFFFF#000000##FFFFFF
##7342D31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#576685
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7342d3;
/* rgb */ color: rgb(115, 66, 211);
/* oklch */ color: oklch(52.0% 0.209 293.2);
Tailwind
colors: {
  custom: {
    50: '#a37ae2',
    500: '#7342d3',
    950: '#000000',
  },
}
SCSS
$custom: #7342d3;
$custom-light: #a37ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#7342d3",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 260.276,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5198,
    "c": 0.20948,
    "h": 293.2
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#7342D3
secondary
#C2D79A
accent
#E542AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7342D3

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

Preview Lab → · Contrast checker → · Palette generator →

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