#7345B2#7345B2

#7345B2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.167 H 299.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7345B2
RGBrgb(115, 69, 178)
HSLhsl(265, 44%, 48%)
HSVhsv(265, 61%, 70%)
CMYKcmyk(35.4%, 61.2%, 0%, 30.2%)
CIE-LABlab(39.77, 42.59, -50.97)
CIE-LCHlch(39.77, 66.42, 309.88°)
OKLaboklab(49.9% 0.0829 -0.1447)
OKLCHoklch(49.9% 0.167 299.8)
XYZxyz(17.2323, 11.1153, 43.3484)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7345B2 #84B245
analogous
#454DB2 #7345B2 #A945B2
triadic
#7345B2 #B27345 #45B273
tetradic
#7345B2 #B2454D #84B245 #45B2A9
square
#7345B2 #B2454D #84B245 #45B2A9
split-complementary
#7345B2 #B2A945 #4DB245
monochromatic
#3A235A #573486 #7345B2 #936EC7 #B49AD8

Accessibility & contrast

On white

6.52
#7345B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7345B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7345B2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7345B2#FFFFFF#000000##FFFFFF
##7345B21.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#655C75
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7345b2;
/* rgb */ color: rgb(115, 69, 178);
/* oklch */ color: oklch(49.9% 0.167 299.8);
Tailwind
colors: {
  custom: {
    50: '#9f7bca',
    500: '#7345b2',
    950: '#000000',
  },
}
SCSS
$custom: #7345b2;
$custom-light: #9f7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7345b2",
  "rgb": {
    "r": 115,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 265.321,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49904,
    "c": 0.16674,
    "h": 299.8
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

primary
#7345B2
secondary
#AEC48F
accent
#D4549E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7345B2

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

Preview Lab → · Contrast checker → · Palette generator →

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