#7345CF#7345CF

#7345CF is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.201 H 293.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7345CF
RGBrgb(115, 69, 207)
HSLhsl(260, 59%, 54%)
HSVhsv(260, 67%, 81%)
CMYKcmyk(44.4%, 66.7%, 0%, 18.8%)
CIE-LABlab(41.85, 50.28, -64.53)
CIE-LCHlch(41.85, 81.80, 307.93°)
OKLaboklab(52.07% 0.0802 -0.1846)
OKLCHoklch(52.07% 0.201 293.5)
XYZxyz(20.4578, 12.4055, 60.3360)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7345CF #A1CF45
analogous
#455CCF #7345CF #B845CF
triadic
#7345CF #CF7345 #45CF73
tetradic
#7345CF #CF455C #A1CF45 #45CFB8
square
#7345CF #CF455C #A1CF45 #45CFB8
split-complementary
#7345CF #CFB845 #5CCF45
monochromatic
#3E207A #562CAB #7345CF #9876DC #BCA6E8

Accessibility & contrast

On white

6.03
#7345CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7345CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7345CF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7345CF#FFFFFF#000000##FFFFFF
##7345CF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#596684
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7345cf;
/* rgb */ color: rgb(115, 69, 207);
/* oklch */ color: oklch(52.1% 0.201 293.5);
Tailwind
colors: {
  custom: {
    50: '#a27cdf',
    500: '#7345cf',
    950: '#000000',
  },
}
SCSS
$custom: #7345cf;
$custom-light: #a27cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7345cf",
  "rgb": {
    "r": 115,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 260,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.20124,
    "h": 293.5
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

primary
#7345CF
secondary
#C2D59B
accent
#E246AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7345CF

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

Preview Lab → · Contrast checker → · Palette generator →

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