#7345E1#7345E1

#7345E1 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.222 H 290.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7345E1
RGBrgb(115, 69, 225)
HSLhsl(258, 72%, 58%)
HSVhsv(258, 69%, 88%)
CMYKcmyk(48.9%, 69.3%, 0%, 11.8%)
CIE-LABlab(43.27, 55.15, -72.54)
CIE-LCHlch(43.27, 91.12, 307.24°)
OKLaboklab(53.52% 0.0773 -0.2081)
OKLCHoklch(53.52% 0.222 290.4)
XYZxyz(22.7851, 13.3364, 72.5932)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7345E1 #B3E145
analogous
#4565E1 #7345E1 #C145E1
triadic
#7345E1 #E17345 #45E173
tetradic
#7345E1 #E14565 #B3E145 #45E1C1
square
#7345E1 #E14565 #B3E145 #45E1C1
split-complementary
#7345E1 #E1C145 #65E145
monochromatic
#3C1894 #5220C8 #7345E1 #9B7AE9 #C2AEF2

Accessibility & contrast

On white

5.73
#7345E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7345E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7345E1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7345E1#FFFFFF#000000##FFFFFF
##7345E11.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#4E6D8E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7345e1;
/* rgb */ color: rgb(115, 69, 225);
/* oklch */ color: oklch(53.5% 0.222 290.4);
Tailwind
colors: {
  custom: {
    50: '#a57ceb',
    500: '#7345e1',
    950: '#000000',
  },
}
SCSS
$custom: #7345e1;
$custom-light: #a57ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#7345e1",
  "rgb": {
    "r": 115,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 257.692,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53515,
    "c": 0.222,
    "h": 290.4
  },
  "luminance": 0.13337
}

Semantic roles & 50–950 ramp

primary
#7345E1
secondary
#CEE0A2
accent
#EF39B9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7345E1

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

Preview Lab → · Contrast checker → · Palette generator →

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