#745EFA#745EFA

#745EFA is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 59.2% C 0.222 H 283.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#745EFA
RGBrgb(116, 94, 250)
HSLhsl(248, 94%, 67%)
HSVhsv(248, 62%, 98%)
CMYKcmyk(53.6%, 62.4%, 0%, 2%)
CIE-LABlab(50.24, 48.98, -75.23)
CIE-LCHlch(50.24, 89.77, 303.07°)
OKLaboklab(59.16% 0.0526 -0.216)
OKLCHoklch(59.16% 0.222 283.7)
XYZxyz(28.4552, 18.6189, 92.5183)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745EFA #E4FA5E
analogous
#5E96FA #745EFA #C25EFA
triadic
#745EFA #FA745E #5EFA74
tetradic
#745EFA #FA5E96 #E4FA5E #5EFAC2
square
#745EFA #FA5E96 #E4FA5E #5EFAC2
split-complementary
#745EFA #FAC25E #96FA5E
monochromatic
#2407D7 #4123F8 #745EFA #A799FC #DAD5FE

Accessibility & contrast

On white

4.45
#745EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#745EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #745EFA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745EFA#FFFFFF#000000##000000
##745EFA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0072F7
Tritanopia (blue-blind)
#3884A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #745efa;
/* rgb */ color: rgb(116, 94, 250);
/* oklch */ color: oklch(59.2% 0.222 283.7);
Tailwind
colors: {
  custom: {
    50: '#a78dfd',
    500: '#745efa',
    950: '#000000',
  },
}
SCSS
$custom: #745efa;
$custom-light: #a78dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#745efa",
  "rgb": {
    "r": 116,
    "g": 94,
    "b": 250
  },
  "hsl": {
    "h": 248.462,
    "s": 93.976,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59164,
    "c": 0.2223,
    "h": 283.7
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #745EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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