#745AEF#745AEF

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

Color values

HEX#745AEF
RGBrgb(116, 90, 239)
HSLhsl(250, 82%, 65%)
HSVhsv(250, 62%, 94%)
CMYKcmyk(51.5%, 62.3%, 0%, 6.3%)
CIE-LABlab(48.58, 48.00, -71.78)
CIE-LCHlch(48.58, 86.35, 303.77°)
OKLaboklab(57.7% 0.0573 -0.2059)
OKLCHoklch(57.7% 0.214 285.5)
XYZxyz(26.4340, 17.2560, 83.5825)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AEF #D5EF5A
analogous
#5A8BEF #745AEF #BF5AEF
triadic
#745AEF #EF745A #5AEF74
tetradic
#745AEF #EF5A8B #D5EF5A #5AEFBF
square
#745AEF #EF5A8B #D5EF5A #5AEFBF
split-complementary
#745AEF #EFBF5A #8BEF5A
monochromatic
#3012BC #4522EA #745AEF #A392F4 #D2CAFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##745AEF#FFFFFF#000000##FFFFFF
##745AEF1.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)
#0077F4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#447E9C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #745aef;
/* rgb */ color: rgb(116, 90, 239);
/* oklch */ color: oklch(57.7% 0.214 285.5);
Tailwind
colors: {
  custom: {
    50: '#a68af5',
    500: '#745aef',
    950: '#000000',
  },
}
SCSS
$custom: #745aef;
$custom-light: #a68af5;
$custom-dark: #000000;
JSON
{
  "hex": "#745aef",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 250.47,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57703,
    "c": 0.21368,
    "h": 285.5
  },
  "luminance": 0.17257
}

Semantic roles & 50–950 ramp

primary
#745AEF
secondary
#E3ECB9
accent
#DF07B9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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