#745FE8#745FE8

#745FE8 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 58.0% C 0.199 H 285.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#745FE8
RGBrgb(116, 95, 232)
HSLhsl(249, 75%, 64%)
HSVhsv(249, 59%, 91%)
CMYKcmyk(50%, 59.1%, 0%, 9%)
CIE-LABlab(49.16, 43.12, -66.91)
CIE-LCHlch(49.16, 79.60, 302.80°)
OKLaboklab(57.97% 0.0527 -0.1915)
OKLCHoklch(57.97% 0.199 285.4)
XYZxyz(25.8558, 17.7223, 78.3866)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FE8 #D3E85F
analogous
#5F8FE8 #745FE8 #B95FE8
triadic
#745FE8 #E8745F #5FE874
tetradic
#745FE8 #E85F8F #D3E85F #5FE8B9
square
#745FE8 #E85F8F #D3E85F #5FE8B9
split-complementary
#745FE8 #E8B95F #8FE85F
monochromatic
#311AB3 #4629E0 #745FE8 #A295F0 #D1CAF7

Accessibility & contrast

On white

4.62
#745FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#745FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #745FE8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745FE8#FFFFFF#000000##FFFFFF
##745FE81.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#497F9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #745fe8;
/* rgb */ color: rgb(116, 95, 232);
/* oklch */ color: oklch(58.0% 0.199 285.4);
Tailwind
colors: {
  custom: {
    50: '#a48df0',
    500: '#745fe8',
    950: '#000000',
  },
}
SCSS
$custom: #745fe8;
$custom-light: #a48df0;
$custom-dark: #000000;
JSON
{
  "hex": "#745fe8",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 249.197,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57966,
    "c": 0.19865,
    "h": 285.4
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

primary
#745FE8
secondary
#E2E9BA
accent
#D70EB8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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