#7342C8#7342C8

#7342C8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.197 H 295.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7342C8
RGBrgb(115, 66, 200)
HSLhsl(262, 55%, 52%)
HSVhsv(262, 67%, 78%)
CMYKcmyk(42.5%, 67%, 0%, 21.6%)
CIE-LABlab(40.75, 49.97, -62.27)
CIE-LCHlch(40.75, 79.84, 308.75°)
OKLaboklab(51.11% 0.0842 -0.1779)
OKLCHoklch(51.11% 0.197 295.3)
XYZxyz(19.4410, 11.7109, 55.8685)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7342C8 #97C842
analogous
#4254C8 #7342C8 #B642C8
triadic
#7342C8 #C87342 #42C873
tetradic
#7342C8 #C84254 #97C842 #42C8B6
square
#7342C8 #C84254 #97C842 #42C8B6
split-complementary
#7342C8 #C8B642 #54C842
monochromatic
#3D206F #572E9F #7342C8 #9671D6 #B9A1E4

Accessibility & contrast

On white

6.28
#7342C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7342C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7342C8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7342C8#FFFFFF#000000##FFFFFF
##7342C81.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#5C627F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7342c8;
/* rgb */ color: rgb(115, 66, 200);
/* oklch */ color: oklch(51.1% 0.197 295.3);
Tailwind
colors: {
  custom: {
    50: '#a27ada',
    500: '#7342c8',
    950: '#000000',
  },
}
SCSS
$custom: #7342c8;
$custom-light: #a27ada;
$custom-dark: #000000;
JSON
{
  "hex": "#7342c8",
  "rgb": {
    "r": 115,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 261.94,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.19683,
    "h": 295.3
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#7342C8
secondary
#BBD096
accent
#DE4AA8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7342C8

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

Preview Lab → · Contrast checker → · Palette generator →

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