#7342A6#7342A6

#7342A6 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.6% C 0.157 H 303.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7342A6
RGBrgb(115, 66, 166)
HSLhsl(269, 43%, 45%)
HSVhsv(269, 60%, 65%)
CMYKcmyk(30.7%, 60.2%, 0%, 34.9%)
CIE-LABlab(38.37, 41.16, -46.10)
CIE-LCHlch(38.37, 61.81, 311.76°)
OKLaboklab(48.63% 0.087 -0.1304)
OKLCHoklch(48.63% 0.157 303.7)
XYZxyz(15.8998, 10.2945, 37.2184)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342A6 #75A642
analogous
#4243A6 #7342A6 #A542A6
triadic
#7342A6 #A67342 #42A673
tetradic
#7342A6 #A64243 #75A642 #42A6A5
square
#7342A6 #A64243 #75A642 #42A6A5
split-complementary
#7342A6 #A6A542 #43A642
monochromatic
#361F4E #55317A #7342A6 #9264C1 #B190D3

Accessibility & contrast

On white

6.87
#7342A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7342A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342A6
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342A6#FFFFFF#000000##FFFFFF
##7342A61.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1059A9
Deuteranopia (green-blind)
#2A5AA4
Tritanopia (blue-blind)
#6A566D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7342a6;
/* rgb */ color: rgb(115, 66, 166);
/* oklch */ color: oklch(48.6% 0.157 303.7);
Tailwind
colors: {
  custom: {
    50: '#9f79c1',
    500: '#7342a6',
    950: '#000000',
  },
}
SCSS
$custom: #7342a6;
$custom-light: #9f79c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7342a6",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 166
  },
  "hsl": {
    "h": 269.4,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48625,
    "c": 0.15674,
    "h": 303.7
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#7342A6
secondary
#A2BE86
accent
#D35595
background
#FAF7FB
surface
#F3EDF7
border
#CDC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7342A6

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

Preview Lab → · Contrast checker → · Palette generator →

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