#745CEF#745CEF

#745CEF is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 58.0% C 0.211 H 285.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#745CEF
RGBrgb(116, 92, 239)
HSLhsl(250, 82%, 65%)
HSVhsv(250, 62%, 94%)
CMYKcmyk(51.5%, 61.5%, 0%, 6.3%)
CIE-LABlab(49.00, 46.88, -71.09)
CIE-LCHlch(49.00, 85.16, 303.40°)
OKLaboklab(58.01% 0.0554 -0.2038)
OKLCHoklch(58.01% 0.211 285.2)
XYZxyz(26.6049, 17.5979, 83.6395)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CEF #D7EF5C
analogous
#5C8DEF #745CEF #BE5CEF
triadic
#745CEF #EF745C #5CEF74
tetradic
#745CEF #EF5C8D #D7EF5C #5CEFBE
square
#745CEF #EF5C8D #D7EF5C #5CEFBE
split-complementary
#745CEF #EFBE5C #8DEF5C
monochromatic
#2F13BE #4424EA #745CEF #A494F4 #D3CBFA

Accessibility & contrast

On white

4.65
#745CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#745CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #745CEF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745CEF#FFFFFF#000000##FFFFFF
##745CEF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#437F9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #745cef;
/* rgb */ color: rgb(116, 92, 239);
/* oklch */ color: oklch(58.0% 0.211 285.2);
Tailwind
colors: {
  custom: {
    50: '#a58bf5',
    500: '#745cef',
    950: '#000000',
  },
}
SCSS
$custom: #745cef;
$custom-light: #a58bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#745cef",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 249.796,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58011,
    "c": 0.21121,
    "h": 285.2
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

primary
#745CEF
secondary
#E4ECBA
accent
#DF07BB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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