#745EF6#745EF6

#745EF6 is a mid, highly saturated blue. Relative luminance 0.184; OKLCH L 58.9% C 0.217 H 284.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#745EF6
RGBrgb(116, 94, 246)
HSLhsl(249, 89%, 67%)
HSVhsv(249, 62%, 96%)
CMYKcmyk(52.8%, 61.8%, 0%, 3.5%)
CIE-LABlab(49.94, 47.80, -73.48)
CIE-LCHlch(49.94, 87.66, 303.05°)
OKLaboklab(58.86% 0.0529 -0.2108)
OKLCHoklch(58.86% 0.217 284.1)
XYZxyz(27.8347, 18.3707, 89.2501)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745EF6 #E0F65E
analogous
#5E94F6 #745EF6 #C05EF6
triadic
#745EF6 #F6745E #5EF674
tetradic
#745EF6 #F65E94 #E0F65E #5EF6C0
square
#745EF6 #F65E94 #E0F65E #5EF6C0
split-complementary
#745EF6 #F6C05E #94F65E
monochromatic
#280CCE #4224F3 #745EF6 #A698F9 #D8D2FC

Accessibility & contrast

On white

4.49
#745EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#745EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #745EF6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745EF6#FFFFFF#000000##000000
##745EF61.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#3D83A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #745ef6;
/* rgb */ color: rgb(116, 94, 246);
/* oklch */ color: oklch(58.9% 0.217 284.1);
Tailwind
colors: {
  custom: {
    50: '#a68dfa',
    500: '#745ef6',
    950: '#000000',
  },
}
SCSS
$custom: #745ef6;
$custom-light: #a68dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#745ef6",
  "rgb": {
    "r": 116,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 248.684,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58856,
    "c": 0.21739,
    "h": 284.1
  },
  "luminance": 0.18372
}

Semantic roles & 50–950 ramp

primary
#745EF6
secondary
#E9F0BF
accent
#E600C4
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #745EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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