#7345C2#7345C2

#7345C2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.186 H 296.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7345C2
RGBrgb(115, 69, 194)
HSLhsl(262, 51%, 52%)
HSVhsv(262, 64%, 76%)
CMYKcmyk(40.7%, 64.4%, 0%, 23.9%)
CIE-LABlab(40.89, 46.80, -58.55)
CIE-LCHlch(40.89, 74.96, 308.63°)
OKLaboklab(51.07% 0.0817 -0.167)
OKLCHoklch(51.07% 0.186 296.1)
XYZxyz(18.9334, 11.7957, 52.3077)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7345C2 #94C245
analogous
#4556C2 #7345C2 #B245C2
triadic
#7345C2 #C27345 #45C273
tetradic
#7345C2 #C24556 #94C245 #45C2B2
square
#7345C2 #C24556 #94C245 #45C2B2
split-complementary
#7345C2 #C2B245 #56C245
monochromatic
#3D236A #573298 #7345C2 #9673D1 #B8A1E0

Accessibility & contrast

On white

6.25
#7345C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7345C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7345C2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7345C2#FFFFFF#000000##FFFFFF
##7345C21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#5F627D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7345c2;
/* rgb */ color: rgb(115, 69, 194);
/* oklch */ color: oklch(51.1% 0.186 296.1);
Tailwind
colors: {
  custom: {
    50: '#a17bd5',
    500: '#7345c2',
    950: '#000000',
  },
}
SCSS
$custom: #7345c2;
$custom-light: #a17bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7345c2",
  "rgb": {
    "r": 115,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 262.08,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.18594,
    "h": 296.1
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#7345C2
secondary
#B9CD96
accent
#DA4EA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7345C2

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

Preview Lab → · Contrast checker → · Palette generator →

#7345C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva