#745FEC#745FEC

#745FEC is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.3% C 0.204 H 285.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#745FEC
RGBrgb(116, 95, 236)
HSLhsl(249, 79%, 65%)
HSVhsv(249, 60%, 93%)
CMYKcmyk(50.8%, 59.7%, 0%, 7.5%)
CIE-LABlab(49.44, 44.30, -68.70)
CIE-LCHlch(49.44, 81.74, 302.81°)
OKLaboklab(58.26% 0.0526 -0.1968)
OKLCHoklch(58.26% 0.204 285)
XYZxyz(26.4305, 17.9522, 81.4131)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FEC #D7EC5F
analogous
#5F91EC #745FEC #BA5FEC
triadic
#745FEC #EC745F #5FEC74
tetradic
#745FEC #EC5F91 #D7EC5F #5FECBA
square
#745FEC #EC5F91 #D7EC5F #5FECBA
split-complementary
#745FEC #ECBA5F #91EC5F
monochromatic
#2F16BA #4428E6 #745FEC #A496F2 #D3CCF9

Accessibility & contrast

On white

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

On black

4.59
#745FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #745FEC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745FEC#FFFFFF#000000##000000
##745FEC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#46809D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #745fec;
/* rgb */ color: rgb(116, 95, 236);
/* oklch */ color: oklch(58.3% 0.204 285.0);
Tailwind
colors: {
  custom: {
    50: '#a58df3',
    500: '#745fec',
    950: '#000000',
  },
}
SCSS
$custom: #745fec;
$custom-light: #a58df3;
$custom-dark: #000000;
JSON
{
  "hex": "#745fec",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 248.936,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.2037,
    "h": 285
  },
  "luminance": 0.17954
}

Semantic roles & 50–950 ramp

primary
#745FEC
secondary
#E4EBBB
accent
#DB0ABC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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