#7345D2#7345D2

#7345D2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.205 H 292.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7345D2
RGBrgb(115, 69, 210)
HSLhsl(260, 61%, 55%)
HSVhsv(260, 67%, 82%)
CMYKcmyk(45.2%, 67.1%, 0%, 17.6%)
CIE-LABlab(42.08, 51.09, -65.88)
CIE-LCHlch(42.08, 83.37, 307.79°)
OKLaboklab(52.3% 0.0798 -0.1885)
OKLCHoklch(52.3% 0.205 292.9)
XYZxyz(20.8280, 12.5536, 62.2860)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7345D2 #A4D245
analogous
#455ED2 #7345D2 #B945D2
triadic
#7345D2 #D27345 #45D273
tetradic
#7345D2 #D2455E #A4D245 #45D2B9
square
#7345D2 #D2455E #A4D245 #45D2B9
split-complementary
#7345D2 #D2B945 #5ED245
monochromatic
#3E1F7E #562AAF #7345D2 #9876DE #BDA8EA

Accessibility & contrast

On white

5.98
#7345D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7345D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7345D2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7345D2#FFFFFF#000000##FFFFFF
##7345D21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#576886
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7345d2;
/* rgb */ color: rgb(115, 69, 210);
/* oklch */ color: oklch(52.3% 0.205 292.9);
Tailwind
colors: {
  custom: {
    50: '#a37ce1',
    500: '#7345d2',
    950: '#000000',
  },
}
SCSS
$custom: #7345d2;
$custom-light: #a37ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7345d2",
  "rgb": {
    "r": 115,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 259.574,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.20473,
    "h": 292.9
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#7345D2
secondary
#C4D79C
accent
#E444B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7345D2

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

Preview Lab → · Contrast checker → · Palette generator →

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