#745DEC#745DEC

#745DEC is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.9% C 0.206 H 285.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#745DEC
RGBrgb(116, 93, 236)
HSLhsl(250, 79%, 65%)
HSVhsv(250, 61%, 93%)
CMYKcmyk(50.8%, 60.6%, 0%, 7.5%)
CIE-LABlab(49.00, 45.44, -69.41)
CIE-LCHlch(49.00, 82.96, 303.21°)
OKLaboklab(57.94% 0.0546 -0.1989)
OKLCHoklch(57.94% 0.206 285.3)
XYZxyz(26.2526, 17.5965, 81.3538)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745DEC #D5EC5D
analogous
#5D8EEC #745DEC #BB5DEC
triadic
#745DEC #EC745D #5DEC74
tetradic
#745DEC #EC5D8E #D5EC5D #5DECBB
square
#745DEC #EC5D8E #D5EC5D #5DECBB
split-complementary
#745DEC #ECBB5D #8EEC5D
monochromatic
#3016B9 #4526E6 #745DEC #A394F2 #D2CBF9

Accessibility & contrast

On white

4.65
#745DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#745DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #745DEC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745DEC#FFFFFF#000000##FFFFFF
##745DEC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#467F9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #745dec;
/* rgb */ color: rgb(116, 93, 236);
/* oklch */ color: oklch(57.9% 0.206 285.3);
Tailwind
colors: {
  custom: {
    50: '#a58cf3',
    500: '#745dec',
    950: '#000000',
  },
}
SCSS
$custom: #745dec;
$custom-light: #a58cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#745dec",
  "rgb": {
    "r": 116,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 249.65,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57942,
    "c": 0.20624,
    "h": 285.3
  },
  "luminance": 0.17598
}

Semantic roles & 50–950 ramp

primary
#745DEC
secondary
#E3EBBA
accent
#DB0ABA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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