#7345C5#7345C5

#7345C5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.189 H 295.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7345C5
RGBrgb(115, 69, 197)
HSLhsl(262, 52%, 52%)
HSVhsv(262, 65%, 77%)
CMYKcmyk(41.6%, 65%, 0%, 22.7%)
CIE-LABlab(41.11, 47.60, -59.95)
CIE-LCHlch(41.11, 76.54, 308.45°)
OKLaboklab(51.29% 0.0814 -0.1711)
OKLCHoklch(51.29% 0.189 295.4)
XYZxyz(19.2737, 11.9319, 54.1001)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7345C5 #97C545
analogous
#4557C5 #7345C5 #B345C5
triadic
#7345C5 #C57345 #45C573
tetradic
#7345C5 #C54557 #97C545 #45C5B3
square
#7345C5 #C54557 #97C545 #45C5B3
split-complementary
#7345C5 #C5B345 #57C545
monochromatic
#3D226D #57319C #7345C5 #9674D4 #B9A2E2

Accessibility & contrast

On white

6.20
#7345C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7345C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7345C5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7345C5#FFFFFF#000000##FFFFFF
##7345C51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#5E637F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7345c5;
/* rgb */ color: rgb(115, 69, 197);
/* oklch */ color: oklch(51.3% 0.189 295.4);
Tailwind
colors: {
  custom: {
    50: '#a17bd7',
    500: '#7345c5',
    950: '#000000',
  },
}
SCSS
$custom: #7345c5;
$custom-light: #a17bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7345c5",
  "rgb": {
    "r": 115,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 261.563,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.18948,
    "h": 295.4
  },
  "luminance": 0.11932
}

Semantic roles & 50–950 ramp

primary
#7345C5
secondary
#BBCF97
accent
#DC4CA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7345C5

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

Preview Lab → · Contrast checker → · Palette generator →

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