#7345CA#7345CA

#7345CA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.195 H 294.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7345CA
RGBrgb(115, 69, 202)
HSLhsl(261, 56%, 53%)
HSVhsv(261, 66%, 79%)
CMYKcmyk(43.1%, 65.8%, 0%, 20.8%)
CIE-LABlab(41.48, 48.94, -62.25)
CIE-LCHlch(41.48, 79.18, 308.17°)
OKLaboklab(51.68% 0.0808 -0.1779)
OKLCHoklch(51.68% 0.195 294.4)
XYZxyz(19.8562, 12.1648, 57.1675)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7345CA #9CCA45
analogous
#4559CA #7345CA #B645CA
triadic
#7345CA #CA7345 #45CA73
tetradic
#7345CA #CA4559 #9CCA45 #45CAB6
square
#7345CA #CA4559 #9CCA45 #45CAB6
split-complementary
#7345CA #CAB645 #59CA45
monochromatic
#3E2174 #572FA3 #7345CA #9775D8 #BBA4E5

Accessibility & contrast

On white

6.12
#7345CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7345CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7345CA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7345CA#FFFFFF#000000##FFFFFF
##7345CA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#5B6582
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7345ca;
/* rgb */ color: rgb(115, 69, 202);
/* oklch */ color: oklch(51.7% 0.195 294.4);
Tailwind
colors: {
  custom: {
    50: '#a27bdb',
    500: '#7345ca',
    950: '#000000',
  },
}
SCSS
$custom: #7345ca;
$custom-light: #a27bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7345ca",
  "rgb": {
    "r": 115,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 260.752,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.19538,
    "h": 294.4
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#7345CA
secondary
#BED299
accent
#DF49AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7345CA

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

Preview Lab → · Contrast checker → · Palette generator →

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