#745CE4#745CE4

#745CE4 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.2% C 0.197 H 286.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#745CE4
RGBrgb(116, 92, 228)
HSLhsl(251, 72%, 63%)
HSVhsv(251, 60%, 89%)
CMYKcmyk(49.1%, 59.6%, 0%, 10.6%)
CIE-LABlab(48.22, 43.68, -66.17)
CIE-LCHlch(48.22, 79.29, 303.43°)
OKLaboklab(57.19% 0.056 -0.1894)
OKLCHoklch(57.19% 0.197 286.5)
XYZxyz(25.0291, 16.9676, 75.3400)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CE4 #CCE45C
analogous
#5C88E4 #745CE4 #B85CE4
triadic
#745CE4 #E4745C #5CE474
tetradic
#745CE4 #E45C88 #CCE45C #5CE4B8
square
#745CE4 #E45C88 #CCE45C #5CE4B8
split-complementary
#745CE4 #E4B85C #88E45C
monochromatic
#351CAA #4727DB #745CE4 #A191ED #CEC5F5

Accessibility & contrast

On white

4.78
#745CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#745CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745CE4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745CE4#FFFFFF#000000##FFFFFF
##745CE41.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#4C7C97
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #745ce4;
/* rgb */ color: rgb(116, 92, 228);
/* oklch */ color: oklch(57.2% 0.197 286.5);
Tailwind
colors: {
  custom: {
    50: '#a48bed',
    500: '#745ce4',
    950: '#000000',
  },
}
SCSS
$custom: #745ce4;
$custom-light: #a48bed;
$custom-dark: #000000;
JSON
{
  "hex": "#745ce4",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 250.588,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5719,
    "c": 0.19748,
    "h": 286.5
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#745CE4
secondary
#DEE7B5
accent
#D412B1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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