#745AE1#745AE1

#745AE1 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.6% C 0.196 H 287.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#745AE1
RGBrgb(116, 90, 225)
HSLhsl(252, 69%, 62%)
HSVhsv(252, 60%, 88%)
CMYKcmyk(48.4%, 60%, 0%, 11.8%)
CIE-LABlab(47.57, 43.95, -65.52)
CIE-LCHlch(47.57, 78.90, 303.85°)
OKLaboklab(56.65% 0.0582 -0.1875)
OKLCHoklch(56.65% 0.196 287.2)
XYZxyz(24.4453, 16.4605, 73.1087)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AE1 #C7E15A
analogous
#5A83E1 #745AE1 #B85AE1
triadic
#745AE1 #E1745A #5AE174
tetradic
#745AE1 #E15A83 #C7E15A #5AE1B8
square
#745AE1 #E15A83 #C7E15A #5AE1B8
split-complementary
#745AE1 #E1B85A #83E15A
monochromatic
#371EA3 #4927D7 #745AE1 #A08EEA #CBC2F4

Accessibility & contrast

On white

4.89
#745AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#745AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745AE1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AE1#FFFFFF#000000##FFFFFF
##745AE11.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#4E7995
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #745ae1;
/* rgb */ color: rgb(116, 90, 225);
/* oklch */ color: oklch(56.6% 0.196 287.2);
Tailwind
colors: {
  custom: {
    50: '#a48aeb',
    500: '#745ae1',
    950: '#000000',
  },
}
SCSS
$custom: #745ae1;
$custom-light: #a48aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#745ae1",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 251.556,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5665,
    "c": 0.1963,
    "h": 287.2
  },
  "luminance": 0.16462
}

Semantic roles & 50–950 ramp

primary
#745AE1
secondary
#DBE4B2
accent
#D114AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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