#745BD2#745BD2

#745BD2 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.7% C 0.176 H 289.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#745BD2
RGBrgb(116, 91, 210)
HSLhsl(253, 57%, 59%)
HSVhsv(253, 57%, 82%)
CMYKcmyk(44.8%, 56.7%, 0%, 17.6%)
CIE-LABlab(46.77, 39.06, -58.28)
CIE-LCHlch(46.77, 70.16, 303.83°)
OKLaboklab(55.74% 0.0575 -0.1661)
OKLCHoklch(55.74% 0.176 289.1)
XYZxyz(22.5731, 15.8475, 62.8298)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BD2 #B9D25B
analogous
#5B7ED2 #745BD2 #B05BD2
triadic
#745BD2 #D2745B #5BD274
tetradic
#745BD2 #D25B7E #B9D25B #5BD2B0
square
#745BD2 #D25B7E #B9D25B #5BD2B0
split-complementary
#745BD2 #D2B05B #7ED25B
monochromatic
#3C268C #5034BC #745BD2 #9D8BDF #C5BBEC

Accessibility & contrast

On white

5.04
#745BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#745BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BD2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BD2#FFFFFF#000000##FFFFFF
##745BD21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F71D6
Deuteranopia (green-blind)
#156CCF
Tritanopia (blue-blind)
#57758E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #745bd2;
/* rgb */ color: rgb(116, 91, 210);
/* oklch */ color: oklch(55.7% 0.176 289.1);
Tailwind
colors: {
  custom: {
    50: '#a28ae0',
    500: '#745bd2',
    950: '#000000',
  },
}
SCSS
$custom: #745bd2;
$custom-light: #a28ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#745bd2",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 252.605,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55738,
    "c": 0.17581,
    "h": 289.1
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#745BD2
secondary
#D2DCAD
accent
#E048C0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #745BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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