#7342AD#7342AD

#7342AD is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.165 H 301.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7342AD
RGBrgb(115, 66, 173)
HSLhsl(267, 45%, 47%)
HSVhsv(267, 62%, 68%)
CMYKcmyk(33.5%, 61.8%, 0%, 32.2%)
CIE-LABlab(38.83, 42.94, -49.53)
CIE-LCHlch(38.83, 65.55, 310.92°)
OKLaboklab(49.11% 0.0867 -0.1405)
OKLCHoklch(49.11% 0.165 301.7)
XYZxyz(16.5595, 10.5583, 40.6926)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342AD #7CAD42
analogous
#4246AD #7342AD #A942AD
triadic
#7342AD #AD7342 #42AD73
tetradic
#7342AD #AD4246 #7CAD42 #42ADA9
square
#7342AD #AD4246 #7CAD42 #42ADA9
split-complementary
#7342AD #ADA942 #46AD42
monochromatic
#382054 #563181 #7342AD #9267C5 #B293D6

Accessibility & contrast

On white

6.75
#7342AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7342AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342AD
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342AD#FFFFFF#000000##FFFFFF
##7342AD1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#205BAB
Tritanopia (blue-blind)
#675971
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7342ad;
/* rgb */ color: rgb(115, 66, 173);
/* oklch */ color: oklch(49.1% 0.165 301.7);
Tailwind
colors: {
  custom: {
    50: '#9f79c6',
    500: '#7342ad',
    950: '#000000',
  },
}
SCSS
$custom: #7342ad;
$custom-light: #9f79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7342ad",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 267.477,
    "s": 44.77,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49108,
    "c": 0.1651,
    "h": 301.7
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

primary
#7342AD
secondary
#A8C189
accent
#D45399
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7342AD

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

Preview Lab → · Contrast checker → · Palette generator →

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