#745CD4#745CD4

#745CD4 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.0% C 0.177 H 288.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#745CD4
RGBrgb(116, 92, 212)
HSLhsl(252, 58%, 60%)
HSVhsv(252, 57%, 83%)
CMYKcmyk(45.3%, 56.6%, 0%, 16.9%)
CIE-LABlab(47.13, 39.05, -58.84)
CIE-LCHlch(47.13, 70.62, 303.57°)
OKLaboklab(56.04% 0.0563 -0.1678)
OKLCHoklch(56.04% 0.177 288.6)
XYZxyz(22.9099, 16.1199, 64.1789)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CD4 #BCD45C
analogous
#5C80D4 #745CD4 #B05CD4
triadic
#745CD4 #D4745C #5CD474
tetradic
#745CD4 #D45C80 #BCD45C #5CD4B0
square
#745CD4 #D45C80 #BCD45C #5CD4B0
split-complementary
#745CD4 #D4B05C #80D45C
monochromatic
#3B2690 #4F33C0 #745CD4 #9D8CE1 #C7BDEE

Accessibility & contrast

On white

4.97
#745CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#745CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745CD4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745CD4#FFFFFF#000000##FFFFFF
##745CD41.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E72D8
Deuteranopia (green-blind)
#126DD1
Tritanopia (blue-blind)
#56778F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #745cd4;
/* rgb */ color: rgb(116, 92, 212);
/* oklch */ color: oklch(56.0% 0.177 288.6);
Tailwind
colors: {
  custom: {
    50: '#a28be2',
    500: '#745cd4',
    950: '#000000',
  },
}
SCSS
$custom: #745cd4;
$custom-light: #a28be2;
$custom-dark: #000000;
JSON
{
  "hex": "#745cd4",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 252,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56044,
    "c": 0.17701,
    "h": 288.6
  },
  "luminance": 0.16121
}

Semantic roles & 50–950 ramp

primary
#745CD4
secondary
#D4DDAF
accent
#E146C2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #745CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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