#745AFC#745AFC

#745AFC is a mid, highly saturated blue. Relative luminance 0.181; OKLCH L 58.7% C 0.229 H 284.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#745AFC
RGBrgb(116, 90, 252)
HSLhsl(250, 96%, 67%)
HSVhsv(250, 64%, 99%)
CMYKcmyk(54%, 64.3%, 0%, 1.2%)
CIE-LABlab(49.56, 51.78, -77.45)
CIE-LCHlch(49.56, 93.16, 303.77°)
OKLaboklab(58.72% 0.056 -0.2225)
OKLCHoklch(58.72% 0.229 284.1)
XYZxyz(28.4240, 18.0520, 94.0632)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AFC #E2FC5A
analogous
#5A91FC #745AFC #C55AFC
triadic
#745AFC #FC745A #5AFC74
tetradic
#745AFC #FC5A91 #E2FC5A #5AFCC5
square
#745AFC #FC5A91 #E2FC5A #5AFCC5
split-complementary
#745AFC #FCC55A #91FC5A
monochromatic
#2604D8 #411EFB #745AFC #A796FD #D9D2FE

Accessibility & contrast

On white

4.55
#745AFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#745AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #745AFC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AFC#FFFFFF#000000##000000
##745AFC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0071F9
Tritanopia (blue-blind)
#3683A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #745afc;
/* rgb */ color: rgb(116, 90, 252);
/* oklch */ color: oklch(58.7% 0.229 284.1);
Tailwind
colors: {
  custom: {
    50: '#a78afe',
    500: '#745afc',
    950: '#000000',
  },
}
SCSS
$custom: #745afc;
$custom-light: #a78afe;
$custom-dark: #000000;
JSON
{
  "hex": "#745afc",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 252
  },
  "hsl": {
    "h": 249.63,
    "s": 96.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.58718,
    "c": 0.22947,
    "h": 284.1
  },
  "luminance": 0.18054
}

Semantic roles & 50–950 ramp

primary
#745AFC
secondary
#EAF3BF
accent
#E600C1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #745AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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