#745EC7#745EC7

#745EC7 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.5% C 0.157 H 290.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#745EC7
RGBrgb(116, 94, 199)
HSLhsl(253, 48%, 57%)
HSVhsv(253, 53%, 78%)
CMYKcmyk(41.7%, 52.8%, 0%, 22%)
CIE-LABlab(46.77, 34.16, -51.97)
CIE-LCHlch(46.77, 62.20, 303.32°)
OKLaboklab(55.51% 0.0536 -0.1476)
OKLCHoklch(55.51% 0.157 290)
XYZxyz(21.5111, 15.8412, 55.9460)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745EC7 #B1C75E
analogous
#5E7DC7 #745EC7 #A85EC7
triadic
#745EC7 #C7745E #5EC774
tetradic
#745EC7 #C75E7D #B1C75E #5EC7A8
square
#745EC7 #C75E7D #B1C75E #5EC7A8
split-complementary
#745EC7 #C7A85E #7DC75E
monochromatic
#3D2C7F #533CAC #745EC7 #9B8BD7 #C2B9E7

Accessibility & contrast

On white

5.04
#745EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#745EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745EC7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745EC7#FFFFFF#000000##FFFFFF
##745EC71.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CB
Deuteranopia (green-blind)
#316CC5
Tritanopia (blue-blind)
#5D7489
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #745ec7;
/* rgb */ color: rgb(116, 94, 199);
/* oklch */ color: oklch(55.5% 0.157 290.0);
Tailwind
colors: {
  custom: {
    50: '#a18cd9',
    500: '#745ec7',
    950: '#000000',
  },
}
SCSS
$custom: #745ec7;
$custom-light: #a18cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#745ec7",
  "rgb": {
    "r": 116,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 252.571,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.15704,
    "h": 290
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#745EC7
secondary
#CDD6AB
accent
#D850BB
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #745EC7

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

Preview Lab → · Contrast checker → · Palette generator →

#745EC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva