#7345A2#7345A2

#7345A2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.8% C 0.147 H 304.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7345A2
RGBrgb(115, 69, 162)
HSLhsl(270, 40%, 45%)
HSVhsv(270, 57%, 64%)
CMYKcmyk(29%, 57.4%, 0%, 36.5%)
CIE-LABlab(38.74, 38.49, -43.11)
CIE-LCHlch(38.74, 57.79, 311.76°)
OKLaboklab(48.82% 0.083 -0.1216)
OKLCHoklch(48.82% 0.147 304.3)
XYZxyz(15.7185, 10.5098, 35.3759)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7345A2 #74A245
analogous
#4546A2 #7345A2 #A145A2
triadic
#7345A2 #A27345 #45A273
tetradic
#7345A2 #A24546 #74A245 #45A2A1
square
#7345A2 #A24546 #74A245 #45A2A1
split-complementary
#7345A2 #A2A145 #46A245
monochromatic
#36204C #553377 #7345A2 #9266BE #B091D0

Accessibility & contrast

On white

6.77
#7345A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7345A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7345A2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7345A2#FFFFFF#000000##FFFFFF
##7345A21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#6B576D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7345a2;
/* rgb */ color: rgb(115, 69, 162);
/* oklch */ color: oklch(48.8% 0.147 304.3);
Tailwind
colors: {
  custom: {
    50: '#9e7abe',
    500: '#7345a2',
    950: '#000000',
  },
}
SCSS
$custom: #7345a2;
$custom-light: #9e7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7345a2",
  "rgb": {
    "r": 115,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 269.677,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48819,
    "c": 0.14727,
    "h": 304.3
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#7345A2
secondary
#A2BC87
accent
#D05895
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7345A2

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

Preview Lab → · Contrast checker → · Palette generator →

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