#745EFB#745EFB

#745EFB is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 59.2% C 0.224 H 283.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#745EFB
RGBrgb(116, 94, 251)
HSLhsl(248, 95%, 68%)
HSVhsv(248, 63%, 98%)
CMYKcmyk(53.8%, 62.5%, 0%, 1.6%)
CIE-LABlab(50.31, 49.27, -75.66)
CIE-LCHlch(50.31, 90.29, 303.07°)
OKLaboklab(59.24% 0.0525 -0.2173)
OKLCHoklch(59.24% 0.224 283.6)
XYZxyz(28.6124, 18.6818, 93.3463)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745EFB #E5FB5E
analogous
#5E96FB #745EFB #C35EFB
triadic
#745EFB #FB745E #5EFB74
tetradic
#745EFB #FB5E96 #E5FB5E #5EFBC3
square
#745EFB #FB5E96 #E5FB5E #5EFBC3
split-complementary
#745EFB #FBC35E #96FB5E
monochromatic
#2305D9 #4022FA #745EFB #A89AFC #DBD5FE

Accessibility & contrast

On white

4.43
#745EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#745EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #745EFB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745EFB#FFFFFF#000000##000000
##745EFB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0073F8
Tritanopia (blue-blind)
#3785A4
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #745efb;
/* rgb */ color: rgb(116, 94, 251);
/* oklch */ color: oklch(59.2% 0.224 283.6);
Tailwind
colors: {
  custom: {
    50: '#a78dfe',
    500: '#745efb',
    950: '#000000',
  },
}
SCSS
$custom: #745efb;
$custom-light: #a78dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#745efb",
  "rgb": {
    "r": 116,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 248.408,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59242,
    "c": 0.22353,
    "h": 283.6
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#745EFB
secondary
#ECF3C2
accent
#E600C5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #745EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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