#745BD8#745BD8

#745BD8 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.184 H 288.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#745BD8
RGBrgb(116, 91, 216)
HSLhsl(252, 62%, 60%)
HSVhsv(252, 58%, 85%)
CMYKcmyk(46.3%, 57.9%, 0%, 15.3%)
CIE-LABlab(47.17, 40.78, -61.06)
CIE-LCHlch(47.17, 73.42, 303.74°)
OKLaboklab(56.16% 0.0574 -0.1743)
OKLCHoklch(56.16% 0.184 288.2)
XYZxyz(23.3347, 16.1521, 66.8406)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BD8 #BFD85B
analogous
#5B80D8 #745BD8 #B25BD8
triadic
#745BD8 #D8745B #5BD874
tetradic
#745BD8 #D85B80 #BFD85B #5BD8B2
square
#745BD8 #D85B80 #BFD85B #5BD8B2
split-complementary
#745BD8 #D8B25B #80D85B
monochromatic
#3A2395 #4D2FC7 #745BD8 #9E8CE4 #C8BEF0

Accessibility & contrast

On white

4.96
#745BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#745BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BD8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BD8#FFFFFF#000000##FFFFFF
##745BD81.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#547791
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #745bd8;
/* rgb */ color: rgb(116, 91, 216);
/* oklch */ color: oklch(56.2% 0.184 288.2);
Tailwind
colors: {
  custom: {
    50: '#a38ae5',
    500: '#745bd8',
    950: '#000000',
  },
}
SCSS
$custom: #745bd8;
$custom-light: #a38ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#745bd8",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 216
  },
  "hsl": {
    "h": 252,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5616,
    "c": 0.18354,
    "h": 288.2
  },
  "luminance": 0.16153
}

Semantic roles & 50–950 ramp

primary
#745BD8
secondary
#D6DFAF
accent
#C91CA7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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