#745EC0#745EC0

#745EC0 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.1% C 0.148 H 291.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#745EC0
RGBrgb(116, 94, 192)
HSLhsl(253, 44%, 56%)
HSVhsv(253, 51%, 75%)
CMYKcmyk(39.6%, 51%, 0%, 24.7%)
CIE-LABlab(46.34, 32.19, -48.61)
CIE-LCHlch(46.34, 58.30, 303.51°)
OKLaboklab(55.06% 0.0531 -0.1377)
OKLCHoklch(55.06% 0.148 291.1)
XYZxyz(20.7170, 15.5236, 51.7638)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745EC0 #AAC05E
analogous
#5E79C0 #745EC0 #A55EC0
triadic
#745EC0 #C0745E #5EC074
tetradic
#745EC0 #C05E79 #AAC05E #5EC0A5
square
#745EC0 #C05E79 #AAC05E #5EC0A5
split-complementary
#745EC0 #C0A55E #79C05E
monochromatic
#3E2E76 #553FA2 #745EC0 #9A8AD1 #C0B6E2

Accessibility & contrast

On white

5.12
#745EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#745EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745EC0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745EC0#FFFFFF#000000##FFFFFF
##745EC01.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC3
Deuteranopia (green-blind)
#396CBE
Tritanopia (blue-blind)
#607286
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #745ec0;
/* rgb */ color: rgb(116, 94, 192);
/* oklch */ color: oklch(55.1% 0.148 291.1);
Tailwind
colors: {
  custom: {
    50: '#a08cd3',
    500: '#745ec0',
    950: '#000000',
  },
}
SCSS
$custom: #745ec0;
$custom-light: #a08cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#745ec0",
  "rgb": {
    "r": 116,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 253.469,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55058,
    "c": 0.14763,
    "h": 291.1
  },
  "luminance": 0.15524
}

Semantic roles & 50–950 ramp

primary
#745EC0
secondary
#C8D1A9
accent
#D354B7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #745EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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