#7345B8#7345B8

#7345B8 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.174 H 298.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7345B8
RGBrgb(115, 69, 184)
HSLhsl(264, 45%, 50%)
HSVhsv(264, 63%, 72%)
CMYKcmyk(37.5%, 62.5%, 0%, 27.8%)
CIE-LABlab(40.18, 44.15, -53.84)
CIE-LCHlch(40.18, 69.63, 309.35°)
OKLaboklab(50.33% 0.0826 -0.1532)
OKLCHoklch(50.33% 0.174 298.3)
XYZxyz(17.8479, 11.3615, 46.5908)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7345B8 #8AB845
analogous
#4550B8 #7345B8 #AD45B8
triadic
#7345B8 #B87345 #45B873
tetradic
#7345B8 #B84550 #8AB845 #45B8AD
square
#7345B8 #B84550 #8AB845 #45B8AD
split-complementary
#7345B8 #B8AD45 #50B845
monochromatic
#3B245F #57348B #7345B8 #9471CA #B69DDA

Accessibility & contrast

On white

6.42
#7345B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7345B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7345B8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7345B8#FFFFFF#000000##FFFFFF
##7345B81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0F5EB6
Tritanopia (blue-blind)
#635E78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7345b8;
/* rgb */ color: rgb(115, 69, 184);
/* oklch */ color: oklch(50.3% 0.174 298.3);
Tailwind
colors: {
  custom: {
    50: '#a07bce',
    500: '#7345b8',
    950: '#000000',
  },
}
SCSS
$custom: #7345b8;
$custom-light: #a07bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7345b8",
  "rgb": {
    "r": 115,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 264,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50332,
    "c": 0.17399,
    "h": 298.3
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#7345B8
secondary
#B2C792
accent
#D553A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7345B8

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

Preview Lab → · Contrast checker → · Palette generator →

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