#745FEB#745FEB

#745FEB is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.2% C 0.202 H 285.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#745FEB
RGBrgb(116, 95, 235)
HSLhsl(249, 78%, 65%)
HSVhsv(249, 60%, 92%)
CMYKcmyk(50.6%, 59.6%, 0%, 7.8%)
CIE-LABlab(49.37, 44.00, -68.26)
CIE-LCHlch(49.37, 81.21, 302.81°)
OKLaboklab(58.19% 0.0526 -0.1955)
OKLCHoklch(58.19% 0.202 285.1)
XYZxyz(26.2856, 17.8942, 80.6500)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FEB #D6EB5F
analogous
#5F90EB #745FEB #BA5FEB
triadic
#745FEB #EB745F #5FEB74
tetradic
#745FEB #EB5F90 #D6EB5F #5FEBBA
square
#745FEB #EB5F90 #D6EB5F #5FEBBA
split-complementary
#745FEB #EBBA5F #90EB5F
monochromatic
#2F17B9 #4529E4 #745FEB #A395F2 #D3CCF9

Accessibility & contrast

On white

4.59
#745FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#745FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #745FEB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745FEB#FFFFFF#000000##FFFFFF
##745FEB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#46809C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #745feb;
/* rgb */ color: rgb(116, 95, 235);
/* oklch */ color: oklch(58.2% 0.202 285.1);
Tailwind
colors: {
  custom: {
    50: '#a58df2',
    500: '#745feb',
    950: '#000000',
  },
}
SCSS
$custom: #745feb;
$custom-light: #a58df2;
$custom-dark: #000000;
JSON
{
  "hex": "#745feb",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 249,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58187,
    "c": 0.20244,
    "h": 285.1
  },
  "luminance": 0.17896
}

Semantic roles & 50–950 ramp

primary
#745FEB
secondary
#E4EBBB
accent
#DA0BBB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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