#745BDC#745BDC

#745BDC is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.4% C 0.189 H 287.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#745BDC
RGBrgb(116, 91, 220)
HSLhsl(252, 65%, 61%)
HSVhsv(252, 59%, 86%)
CMYKcmyk(47.3%, 58.6%, 0%, 13.7%)
CIE-LABlab(47.45, 41.93, -62.89)
CIE-LCHlch(47.45, 75.59, 303.69°)
OKLaboklab(56.45% 0.0573 -0.1797)
OKLCHoklch(56.45% 0.189 287.7)
XYZxyz(23.8581, 16.3615, 69.5973)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BDC #C3DC5B
analogous
#5B82DC #745BDC #B45BDC
triadic
#745BDC #DC745B #5BDC74
tetradic
#745BDC #DC5B82 #C3DC5B #5BDCB4
square
#745BDC #DC5B82 #C3DC5B #5BDCB4
split-complementary
#745BDC #DCB45B #82DC5B
monochromatic
#39219B #4B2CCE #745BDC #9F8DE7 #C9C0F2

Accessibility & contrast

On white

4.92
#745BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#745BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BDC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BDC#FFFFFF#000000##FFFFFF
##745BDC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#517893
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #745bdc;
/* rgb */ color: rgb(116, 91, 220);
/* oklch */ color: oklch(56.4% 0.189 287.7);
Tailwind
colors: {
  custom: {
    50: '#a38ae8',
    500: '#745bdc',
    950: '#000000',
  },
}
SCSS
$custom: #745bdc;
$custom-light: #a38ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#745bdc",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 251.628,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56446,
    "c": 0.18865,
    "h": 287.7
  },
  "luminance": 0.16362
}

Semantic roles & 50–950 ramp

primary
#745BDC
secondary
#D8E2B1
accent
#CD19AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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