#7342B7#7342B7

#7342B7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.8% C 0.177 H 299.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7342B7
RGBrgb(115, 66, 183)
HSLhsl(265, 47%, 49%)
HSVhsv(265, 64%, 72%)
CMYKcmyk(37.2%, 63.9%, 0%, 28.2%)
CIE-LABlab(39.51, 45.51, -54.34)
CIE-LCHlch(39.51, 70.88, 309.95°)
OKLaboklab(49.82% 0.0861 -0.1546)
OKLCHoklch(49.82% 0.177 299.1)
XYZxyz(17.5636, 10.9600, 45.9807)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342B7 #86B742
analogous
#424CB7 #7342B7 #AE42B7
triadic
#7342B7 #B77342 #42B773
tetradic
#7342B7 #B7424C #86B742 #42B7AE
square
#7342B7 #B7424C #86B742 #42B7AE
split-complementary
#7342B7 #B7AE42 #4CB742
monochromatic
#3A225D #57328A #7342B7 #936CCA #B499DA

Accessibility & contrast

On white

6.58
#7342B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7342B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342B7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342B7#FFFFFF#000000##FFFFFF
##7342B71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#065CB4
Tritanopia (blue-blind)
#645C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7342b7;
/* rgb */ color: rgb(115, 66, 183);
/* oklch */ color: oklch(49.8% 0.177 299.1);
Tailwind
colors: {
  custom: {
    50: '#a079cd',
    500: '#7342b7',
    950: '#000000',
  },
}
SCSS
$custom: #7342b7;
$custom-light: #a079cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7342b7",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 265.128,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49824,
    "c": 0.17696,
    "h": 299.1
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#7342B7
secondary
#AFC68F
accent
#D7519F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7342B7

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

Preview Lab → · Contrast checker → · Palette generator →

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