#745AE8#745AE8

#745AE8 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.2% C 0.205 H 286.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#745AE8
RGBrgb(116, 90, 232)
HSLhsl(251, 76%, 63%)
HSVhsv(251, 61%, 91%)
CMYKcmyk(50%, 61.2%, 0%, 9%)
CIE-LABlab(48.07, 45.97, -68.67)
CIE-LCHlch(48.07, 82.64, 303.80°)
OKLaboklab(57.17% 0.0578 -0.1967)
OKLCHoklch(57.17% 0.205 286.4)
XYZxyz(25.4198, 16.8503, 78.2413)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AE8 #CEE85A
analogous
#5A87E8 #745AE8 #BB5AE8
triadic
#745AE8 #E8745A #5AE874
tetradic
#745AE8 #E85A87 #CEE85A #5AE8BB
square
#745AE8 #E85A87 #CEE85A #5AE8BB
split-complementary
#745AE8 #E8BB5A #87E85A
monochromatic
#3418AF #4724E1 #745AE8 #A190EF #CEC5F7

Accessibility & contrast

On white

4.81
#745AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#745AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745AE8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AE8#FFFFFF#000000##FFFFFF
##745AE81.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#497C99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #745ae8;
/* rgb */ color: rgb(116, 90, 232);
/* oklch */ color: oklch(57.2% 0.205 286.4);
Tailwind
colors: {
  custom: {
    50: '#a58af0',
    500: '#745ae8',
    950: '#000000',
  },
}
SCSS
$custom: #745ae8;
$custom-light: #a58af0;
$custom-dark: #000000;
JSON
{
  "hex": "#745ae8",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 250.986,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57171,
    "c": 0.20505,
    "h": 286.4
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

primary
#745AE8
secondary
#DFE8B5
accent
#D80EB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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