#7342AE#7342AE

#7342AE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.166 H 301.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7342AE
RGBrgb(115, 66, 174)
HSLhsl(267, 45%, 47%)
HSVhsv(267, 62%, 68%)
CMYKcmyk(33.9%, 62.1%, 0%, 31.8%)
CIE-LABlab(38.89, 43.19, -50.02)
CIE-LCHlch(38.89, 66.09, 310.81°)
OKLaboklab(49.18% 0.0867 -0.1419)
OKLCHoklch(49.18% 0.166 301.4)
XYZxyz(16.6566, 10.5972, 41.2041)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342AE #7DAE42
analogous
#4247AE #7342AE #A942AE
triadic
#7342AE #AE7342 #42AE73
tetradic
#7342AE #AE4247 #7DAE42 #42AEA9
square
#7342AE #AE4247 #7DAE42 #42AEA9
split-complementary
#7342AE #AEA942 #47AE42
monochromatic
#382055 #563182 #7342AE #9268C6 #B294D6

Accessibility & contrast

On white

6.73
#7342AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7342AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342AE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342AE#FFFFFF#000000##FFFFFF
##7342AE1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#1F5BAC
Tritanopia (blue-blind)
#675972
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7342ae;
/* rgb */ color: rgb(115, 66, 174);
/* oklch */ color: oklch(49.2% 0.166 301.4);
Tailwind
colors: {
  custom: {
    50: '#9f79c7',
    500: '#7342ae',
    950: '#000000',
  },
}
SCSS
$custom: #7342ae;
$custom-light: #9f79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7342ae",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 267.222,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49178,
    "c": 0.16629,
    "h": 301.4
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#7342AE
secondary
#A8C28A
accent
#D5539A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7342AE

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

Preview Lab → · Contrast checker → · Palette generator →

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