#745AEE#745AEE

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

Color values

HEX#745AEE
RGBrgb(116, 90, 238)
HSLhsl(251, 81%, 64%)
HSVhsv(251, 62%, 93%)
CMYKcmyk(51.3%, 62.2%, 0%, 6.7%)
CIE-LABlab(48.51, 47.71, -71.34)
CIE-LCHlch(48.51, 85.82, 303.78°)
OKLaboklab(57.63% 0.0574 -0.2046)
OKLCHoklch(57.63% 0.212 285.7)
XYZxyz(26.2866, 17.1970, 82.8066)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AEE #D4EE5A
analogous
#5A8AEE #745AEE #BE5AEE
triadic
#745AEE #EE745A #5AEE74
tetradic
#745AEE #EE5A8A #D4EE5A #5AEEBE
square
#745AEE #EE5A8A #D4EE5A #5AEEBE
split-complementary
#745AEE #EEBE5A #8AEE5A
monochromatic
#3113BA #4523E8 #745AEE #A391F4 #D1C9F9

Accessibility & contrast

On white

4.73
#745AEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#745AEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745AEE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AEE#FFFFFF#000000##FFFFFF
##745AEE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#447E9C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #745aee;
/* rgb */ color: rgb(116, 90, 238);
/* oklch */ color: oklch(57.6% 0.212 285.7);
Tailwind
colors: {
  custom: {
    50: '#a58af5',
    500: '#745aee',
    950: '#000000',
  },
}
SCSS
$custom: #745aee;
$custom-light: #a58af5;
$custom-dark: #000000;
JSON
{
  "hex": "#745aee",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 250.541,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57626,
    "c": 0.21246,
    "h": 285.7
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#745AEE
secondary
#E3ECB8
accent
#DE08B8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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