#745AE2#745AE2

#745AE2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.198 H 287.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#745AE2
RGBrgb(116, 90, 226)
HSLhsl(251, 70%, 62%)
HSVhsv(251, 60%, 89%)
CMYKcmyk(48.7%, 60.2%, 0%, 11.4%)
CIE-LABlab(47.64, 44.24, -65.98)
CIE-LCHlch(47.64, 79.44, 303.84°)
OKLaboklab(56.72% 0.0582 -0.1888)
OKLCHoklch(56.72% 0.198 287.1)
XYZxyz(24.5821, 16.5152, 73.8293)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AE2 #C8E25A
analogous
#5A84E2 #745AE2 #B85AE2
triadic
#745AE2 #E2745A #5AE274
tetradic
#745AE2 #E25A84 #C8E25A #5AE2B8
square
#745AE2 #E25A84 #C8E25A #5AE2B8
split-complementary
#745AE2 #E2B85A #84E25A
monochromatic
#371DA5 #4826D9 #745AE2 #A08EEB #CCC2F4

Accessibility & contrast

On white

4.88
#745AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#745AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745AE2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AE2#FFFFFF#000000##FFFFFF
##745AE21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#4E7A95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #745ae2;
/* rgb */ color: rgb(116, 90, 226);
/* oklch */ color: oklch(56.7% 0.198 287.1);
Tailwind
colors: {
  custom: {
    50: '#a48aec',
    500: '#745ae2',
    950: '#000000',
  },
}
SCSS
$custom: #745ae2;
$custom-light: #a48aec;
$custom-dark: #000000;
JSON
{
  "hex": "#745ae2",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 251.471,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56723,
    "c": 0.19755,
    "h": 287.1
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#745AE2
secondary
#DBE5B3
accent
#D213AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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