#745AEB#745AEB

#745AEB is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.4% C 0.209 H 286.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#745AEB
RGBrgb(116, 90, 235)
HSLhsl(251, 78%, 64%)
HSVhsv(251, 62%, 92%)
CMYKcmyk(50.6%, 61.7%, 0%, 7.8%)
CIE-LABlab(48.29, 46.84, -70.01)
CIE-LCHlch(48.29, 84.23, 303.79°)
OKLaboklab(57.4% 0.0576 -0.2007)
OKLCHoklch(57.4% 0.209 286)
XYZxyz(25.8496, 17.0222, 80.5047)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AEB #D1EB5A
analogous
#5A88EB #745AEB #BC5AEB
triadic
#745AEB #EB745A #5AEB74
tetradic
#745AEB #EB5A88 #D1EB5A #5AEBBC
square
#745AEB #EB5A88 #D1EB5A #5AEBBC
split-complementary
#745AEB #EBBC5A #88EB5A
monochromatic
#3216B5 #4623E4 #745AEB #A291F2 #D0C7F8

Accessibility & contrast

On white

4.77
#745AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#745AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745AEB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AEB#FFFFFF#000000##FFFFFF
##745AEB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#477D9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #745aeb;
/* rgb */ color: rgb(116, 90, 235);
/* oklch */ color: oklch(57.4% 0.209 286.0);
Tailwind
colors: {
  custom: {
    50: '#a58af2',
    500: '#745aeb',
    950: '#000000',
  },
}
SCSS
$custom: #745aeb;
$custom-light: #a58af2;
$custom-dark: #000000;
JSON
{
  "hex": "#745aeb",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 250.759,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57397,
    "c": 0.20876,
    "h": 286
  },
  "luminance": 0.17023
}

Semantic roles & 50–950 ramp

primary
#745AEB
secondary
#E1EAB7
accent
#DB0BB5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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