#745AFB#745AFB

#745AFB is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.6% C 0.228 H 284.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#745AFB
RGBrgb(116, 90, 251)
HSLhsl(250, 95%, 67%)
HSVhsv(250, 64%, 98%)
CMYKcmyk(53.8%, 64.1%, 0%, 1.6%)
CIE-LABlab(49.48, 51.49, -77.02)
CIE-LCHlch(49.48, 92.64, 303.77°)
OKLaboklab(58.64% 0.0562 -0.2212)
OKLCHoklch(58.64% 0.228 284.2)
XYZxyz(28.2659, 17.9887, 93.2308)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AFB #E1FB5A
analogous
#5A91FB #745AFB #C45AFB
triadic
#745AFB #FB745A #5AFB74
tetradic
#745AFB #FB5A91 #E1FB5A #5AFBC4
square
#745AFB #FB5A91 #E1FB5A #5AFBC4
split-complementary
#745AFB #FBC45A #91FB5A
monochromatic
#2705D5 #421EFA #745AFB #A696FC #D9D2FE

Accessibility & contrast

On white

4.57
#745AFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#745AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #745AFB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AFB#FFFFFF#000000##000000
##745AFB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0070F8
Tritanopia (blue-blind)
#3882A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #745afb;
/* rgb */ color: rgb(116, 90, 251);
/* oklch */ color: oklch(58.6% 0.228 284.2);
Tailwind
colors: {
  custom: {
    50: '#a78afe',
    500: '#745afb',
    950: '#000000',
  },
}
SCSS
$custom: #745afb;
$custom-light: #a78afe;
$custom-dark: #000000;
JSON
{
  "hex": "#745afb",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 251
  },
  "hsl": {
    "h": 249.689,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.22826,
    "h": 284.2
  },
  "luminance": 0.1799
}

Semantic roles & 50–950 ramp

primary
#745AFB
secondary
#EAF2BF
accent
#E600C0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #745AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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