#745FD2#745FD2

#745FD2 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.4% C 0.170 H 288.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#745FD2
RGBrgb(116, 95, 210)
HSLhsl(251, 56%, 60%)
HSVhsv(251, 55%, 82%)
CMYKcmyk(44.8%, 54.8%, 0%, 17.6%)
CIE-LABlab(47.69, 36.72, -56.80)
CIE-LCHlch(47.69, 67.64, 302.88°)
OKLaboklab(56.41% 0.0528 -0.1618)
OKLCHoklch(56.41% 0.17 288.1)
XYZxyz(22.9242, 16.5497, 62.9468)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FD2 #BDD25F
analogous
#5F83D2 #745FD2 #AE5FD2
triadic
#745FD2 #D2745F #5FD274
tetradic
#745FD2 #D25F83 #BDD25F #5FD2AE
square
#745FD2 #D25F83 #BDD25F #5FD2AE
split-complementary
#745FD2 #D2AE5F #83D25F
monochromatic
#3B288F #4E36BE #745FD2 #9D8FDF #C7BFED

Accessibility & contrast

On white

4.87
#745FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#745FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745FD2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745FD2#FFFFFF#000000##FFFFFF
##745FD21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2174D6
Deuteranopia (green-blind)
#226ECF
Tritanopia (blue-blind)
#57788F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #745fd2;
/* rgb */ color: rgb(116, 95, 210);
/* oklch */ color: oklch(56.4% 0.170 288.1);
Tailwind
colors: {
  custom: {
    50: '#a28de0',
    500: '#745fd2',
    950: '#000000',
  },
}
SCSS
$custom: #745fd2;
$custom-light: #a28de0;
$custom-dark: #000000;
JSON
{
  "hex": "#745fd2",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 250.957,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56414,
    "c": 0.17022,
    "h": 288.1
  },
  "luminance": 0.16551
}

Semantic roles & 50–950 ramp

primary
#745FD2
secondary
#D5DDB0
accent
#DF48C4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #745FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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