#745BDF#745BDF

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

Color values

HEX#745BDF
RGBrgb(116, 91, 223)
HSLhsl(251, 67%, 62%)
HSVhsv(251, 59%, 87%)
CMYKcmyk(48%, 59.2%, 0%, 12.5%)
CIE-LABlab(47.65, 42.80, -64.26)
CIE-LCHlch(47.65, 77.21, 303.67°)
OKLaboklab(56.66% 0.0572 -0.1838)
OKLCHoklch(56.66% 0.192 287.3)
XYZxyz(24.2590, 16.5218, 71.7085)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BDF #C6DF5B
analogous
#5B84DF #745BDF #B65BDF
triadic
#745BDF #DF745B #5BDF74
tetradic
#745BDF #DF5B84 #C6DF5B #5BDFB6
square
#745BDF #DF5B84 #C6DF5B #5BDFB6
split-complementary
#745BDF #DFB65B #84DF5B
monochromatic
#381FA0 #4A29D4 #745BDF #9F8EE9 #CBC1F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##745BDF#FFFFFF#000000##FFFFFF
##745BDF1.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)
#0074E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#507994
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #745bdf;
/* rgb */ color: rgb(116, 91, 223);
/* oklch */ color: oklch(56.7% 0.192 287.3);
Tailwind
colors: {
  custom: {
    50: '#a38aea',
    500: '#745bdf',
    950: '#000000',
  },
}
SCSS
$custom: #745bdf;
$custom-light: #a38aea;
$custom-dark: #000000;
JSON
{
  "hex": "#745bdf",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 251.364,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.19246,
    "h": 287.3
  },
  "luminance": 0.16523
}

Semantic roles & 50–950 ramp

primary
#745BDF
secondary
#DAE3B2
accent
#CF16AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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