#745AEC#745AEC

#745AEC is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.5% C 0.210 H 285.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#745AEC
RGBrgb(116, 90, 236)
HSLhsl(251, 79%, 64%)
HSVhsv(251, 62%, 93%)
CMYKcmyk(50.8%, 61.9%, 0%, 7.5%)
CIE-LABlab(48.36, 47.13, -70.45)
CIE-LCHlch(48.36, 84.77, 303.78°)
OKLaboklab(57.47% 0.0575 -0.202)
OKLCHoklch(57.47% 0.21 285.9)
XYZxyz(25.9944, 17.0801, 81.2677)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AEC #D2EC5A
analogous
#5A89EC #745AEC #BD5AEC
triadic
#745AEC #EC745A #5AEC74
tetradic
#745AEC #EC5A89 #D2EC5A #5AECBD
square
#745AEC #EC5A89 #D2EC5A #5AECBD
split-complementary
#745AEC #ECBD5A #89EC5A
monochromatic
#3215B7 #4623E6 #745AEC #A291F2 #D0C8F9

Accessibility & contrast

On white

4.76
#745AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#745AEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745AEC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AEC#FFFFFF#000000##FFFFFF
##745AEC1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#467D9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #745aec;
/* rgb */ color: rgb(116, 90, 236);
/* oklch */ color: oklch(57.5% 0.210 285.9);
Tailwind
colors: {
  custom: {
    50: '#a58af3',
    500: '#745aec',
    950: '#000000',
  },
}
SCSS
$custom: #745aec;
$custom-light: #a58af3;
$custom-dark: #000000;
JSON
{
  "hex": "#745aec",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 250.685,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.20999,
    "h": 285.9
  },
  "luminance": 0.17081
}

Semantic roles & 50–950 ramp

primary
#745AEC
secondary
#E1EBB7
accent
#DC0AB6
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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