#745FFE#745FFE

#745FFE is a mid, highly saturated blue. Relative luminance 0.191; OKLCH L 59.6% C 0.226 H 283.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#745FFE
RGBrgb(116, 95, 254)
HSLhsl(248, 99%, 68%)
HSVhsv(248, 63%, 100%)
CMYKcmyk(54.3%, 62.6%, 0%, 0.4%)
CIE-LABlab(50.75, 49.59, -76.62)
CIE-LCHlch(50.75, 91.27, 302.91°)
OKLaboklab(59.63% 0.0514 -0.2201)
OKLCHoklch(59.63% 0.226 283.1)
XYZxyz(29.1786, 19.0514, 95.8865)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FFE #E9FE5F
analogous
#5F99FE #745FFE #C45FFE
triadic
#745FFE #FE745F #5FFE74
tetradic
#745FFE #FE5F99 #E9FE5F #5FFEC4
square
#745FFE #FE5F99 #E9FE5F #5FFEC4
split-complementary
#745FFE #FEC45F #99FE5F
monochromatic
#1F01E1 #3F22FE #745FFE #A99CFE #DED9FF

Accessibility & contrast

On white

4.37
#745FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#745FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #745FFE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745FFE#FFFFFF#000000##000000
##745FFE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0073FB
Tritanopia (blue-blind)
#3386A6
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #745ffe;
/* rgb */ color: rgb(116, 95, 254);
/* oklch */ color: oklch(59.6% 0.226 283.1);
Tailwind
colors: {
  custom: {
    50: '#a78dff',
    500: '#745ffe',
    950: '#000000',
  },
}
SCSS
$custom: #745ffe;
$custom-light: #a78dff;
$custom-dark: #000000;
JSON
{
  "hex": "#745ffe",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 247.925,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.59628,
    "c": 0.22599,
    "h": 283.1
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

primary
#745FFE
secondary
#EEF4C4
accent
#E600C7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #745FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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