#745BEC#745BEC

#745BEC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.6% C 0.209 H 285.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#745BEC
RGBrgb(116, 91, 236)
HSLhsl(250, 79%, 64%)
HSVhsv(250, 61%, 93%)
CMYKcmyk(50.8%, 61.4%, 0%, 7.5%)
CIE-LABlab(48.57, 46.57, -70.11)
CIE-LCHlch(48.57, 84.17, 303.60°)
OKLaboklab(57.63% 0.0565 -0.2009)
OKLCHoklch(57.63% 0.209 285.7)
XYZxyz(26.0794, 17.2500, 81.2960)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BEC #D3EC5B
analogous
#5B8BEC #745BEC #BD5BEC
triadic
#745BEC #EC745B #5BEC74
tetradic
#745BEC #EC5B8B #D3EC5B #5BECBD
square
#745BEC #EC5B8B #D3EC5B #5BECBD
split-complementary
#745BEC #ECBD5B #8BEC5B
monochromatic
#3115B7 #4624E6 #745BEC #A292F2 #D1C9F9

Accessibility & contrast

On white

4.72
#745BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#745BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BEC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BEC#FFFFFF#000000##FFFFFF
##745BEC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#467E9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #745bec;
/* rgb */ color: rgb(116, 91, 236);
/* oklch */ color: oklch(57.6% 0.209 285.7);
Tailwind
colors: {
  custom: {
    50: '#a58af3',
    500: '#745bec',
    950: '#000000',
  },
}
SCSS
$custom: #745bec;
$custom-light: #a58af3;
$custom-dark: #000000;
JSON
{
  "hex": "#745bec",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 250.345,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.20874,
    "h": 285.7
  },
  "luminance": 0.17251
}

Semantic roles & 50–950 ramp

primary
#745BEC
secondary
#E2EBB8
accent
#DC0AB7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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