#745EC6#745EC6

#745EC6 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.4% C 0.156 H 290.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#745EC6
RGBrgb(116, 94, 198)
HSLhsl(253, 48%, 57%)
HSVhsv(253, 53%, 78%)
CMYKcmyk(41.4%, 52.5%, 0%, 22.4%)
CIE-LABlab(46.70, 33.88, -51.49)
CIE-LCHlch(46.70, 61.64, 303.34°)
OKLaboklab(55.44% 0.0535 -0.1462)
OKLCHoklch(55.44% 0.156 290.1)
XYZxyz(21.3954, 15.7950, 55.3366)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745EC6 #B0C65E
analogous
#5E7CC6 #745EC6 #A85EC6
triadic
#745EC6 #C6745E #5EC674
tetradic
#745EC6 #C65E7C #B0C65E #5EC6A8
square
#745EC6 #C65E7C #B0C65E #5EC6A8
split-complementary
#745EC6 #C6A85E #7CC65E
monochromatic
#3D2C7D #543CAA #745EC6 #9B8BD6 #C2B8E6

Accessibility & contrast

On white

5.05
#745EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#745EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745EC6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745EC6#FFFFFF#000000##FFFFFF
##745EC61.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F71CA
Deuteranopia (green-blind)
#326CC4
Tritanopia (blue-blind)
#5D7489
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #745ec6;
/* rgb */ color: rgb(116, 94, 198);
/* oklch */ color: oklch(55.4% 0.156 290.1);
Tailwind
colors: {
  custom: {
    50: '#a18cd8',
    500: '#745ec6',
    950: '#000000',
  },
}
SCSS
$custom: #745ec6;
$custom-light: #a18cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#745ec6",
  "rgb": {
    "r": 116,
    "g": 94,
    "b": 198
  },
  "hsl": {
    "h": 252.692,
    "s": 47.706,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.1557,
    "h": 290.1
  },
  "luminance": 0.15796
}

Semantic roles & 50–950 ramp

primary
#745EC6
secondary
#CCD5AB
accent
#D750BB
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #745EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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