#745EDC#745EDC

#745EDC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.185 H 287.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#745EDC
RGBrgb(116, 94, 220)
HSLhsl(250, 64%, 62%)
HSVhsv(250, 57%, 86%)
CMYKcmyk(47.3%, 57.3%, 0%, 13.7%)
CIE-LABlab(48.11, 40.20, -61.81)
CIE-LCHlch(48.11, 73.73, 303.04°)
OKLaboklab(56.94% 0.0541 -0.1765)
OKLCHoklch(56.94% 0.185 287)
XYZxyz(24.1197, 16.8847, 69.6845)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745EDC #C6DC5E
analogous
#5E87DC #745EDC #B35EDC
triadic
#745EDC #DC745E #5EDC74
tetradic
#745EDC #DC5E87 #C6DC5E #5EDCB3
square
#745EDC #DC5E87 #C6DC5E #5EDCB3
split-complementary
#745EDC #DCB35E #87DC5E
monochromatic
#38229D #4A2DD0 #745EDC #9F90E7 #CBC3F2

Accessibility & contrast

On white

4.80
#745EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#745EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745EDC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745EDC#FFFFFF#000000##FFFFFF
##745EDC1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#517A94
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #745edc;
/* rgb */ color: rgb(116, 94, 220);
/* oklch */ color: oklch(56.9% 0.185 287.0);
Tailwind
colors: {
  custom: {
    50: '#a38ce8',
    500: '#745edc',
    950: '#000000',
  },
}
SCSS
$custom: #745edc;
$custom-light: #a38ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#745edc",
  "rgb": {
    "r": 116,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 250.476,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56939,
    "c": 0.18463,
    "h": 287
  },
  "luminance": 0.16886
}

Semantic roles & 50–950 ramp

primary
#745EDC
secondary
#DAE2B3
accent
#CC19AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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