#7345BA#7345BA

#7345BA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.176 H 297.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7345BA
RGBrgb(115, 69, 186)
HSLhsl(264, 46%, 50%)
HSVhsv(264, 63%, 73%)
CMYKcmyk(38.2%, 62.9%, 0%, 27.1%)
CIE-LABlab(40.32, 44.68, -54.79)
CIE-LCHlch(40.32, 70.70, 309.19°)
OKLaboklab(50.48% 0.0824 -0.1559)
OKLCHoklch(50.48% 0.176 297.9)
XYZxyz(18.0590, 11.4460, 47.7027)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7345BA #8CBA45
analogous
#4551BA #7345BA #AE45BA
triadic
#7345BA #BA7345 #45BA73
tetradic
#7345BA #BA4551 #8CBA45 #45BAAE
square
#7345BA #BA4551 #8CBA45 #45BAAE
split-complementary
#7345BA #BAAE45 #51BA45
monochromatic
#3C2461 #57348D #7345BA #9572CB #B69EDB

Accessibility & contrast

On white

6.38
#7345BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7345BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7345BA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7345BA#FFFFFF#000000##FFFFFF
##7345BA1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#075EB7
Tritanopia (blue-blind)
#625F79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7345ba;
/* rgb */ color: rgb(115, 69, 186);
/* oklch */ color: oklch(50.5% 0.176 297.9);
Tailwind
colors: {
  custom: {
    50: '#a07bcf',
    500: '#7345ba',
    950: '#000000',
  },
}
SCSS
$custom: #7345ba;
$custom-light: #a07bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7345ba",
  "rgb": {
    "r": 115,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 263.59,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.50476,
    "c": 0.17639,
    "h": 297.9
  },
  "luminance": 0.11446
}

Semantic roles & 50–950 ramp

primary
#7345BA
secondary
#B3C893
accent
#D652A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7345BA

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

Preview Lab → · Contrast checker → · Palette generator →

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