#745BEF#745BEF

#745BEF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.9% C 0.212 H 285.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#745BEF
RGBrgb(116, 91, 239)
HSLhsl(250, 82%, 65%)
HSVhsv(250, 62%, 94%)
CMYKcmyk(51.5%, 61.9%, 0%, 6.3%)
CIE-LABlab(48.79, 47.44, -71.44)
CIE-LCHlch(48.79, 85.75, 303.59°)
OKLaboklab(57.86% 0.0563 -0.2048)
OKLCHoklch(57.86% 0.212 285.4)
XYZxyz(26.5189, 17.4258, 83.6108)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BEF #D6EF5B
analogous
#5B8CEF #745BEF #BE5BEF
triadic
#745BEF #EF745B #5BEF74
tetradic
#745BEF #EF5B8C #D6EF5B #5BEFBE
square
#745BEF #EF5B8C #D6EF5B #5BEFBE
split-complementary
#745BEF #EFBE5B #8CEF5B
monochromatic
#2F12BD #4523EA #745BEF #A393F4 #D3CBFA

Accessibility & contrast

On white

4.68
#745BEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#745BEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BEF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BEF#FFFFFF#000000##FFFFFF
##745BEF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#437F9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #745bef;
/* rgb */ color: rgb(116, 91, 239);
/* oklch */ color: oklch(57.9% 0.212 285.4);
Tailwind
colors: {
  custom: {
    50: '#a68bf5',
    500: '#745bef',
    950: '#000000',
  },
}
SCSS
$custom: #745bef;
$custom-light: #a68bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#745bef",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 250.135,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57856,
    "c": 0.21245,
    "h": 285.4
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#745BEF
secondary
#E4ECBA
accent
#DF07BA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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