#745DDC#745DDC

#745DDC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.8% C 0.186 H 287.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#745DDC
RGBrgb(116, 93, 220)
HSLhsl(251, 64%, 61%)
HSVhsv(251, 58%, 86%)
CMYKcmyk(47.3%, 57.7%, 0%, 13.7%)
CIE-LABlab(47.89, 40.78, -62.17)
CIE-LCHlch(47.89, 74.35, 303.26°)
OKLaboklab(56.77% 0.0551 -0.1776)
OKLCHoklch(56.77% 0.186 287.2)
XYZxyz(24.0313, 16.7080, 69.6550)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745DDC #C5DC5D
analogous
#5D86DC #745DDC #B45DDC
triadic
#745DDC #DC745D #5DDC74
tetradic
#745DDC #DC5D86 #C5DC5D #5DDCB4
square
#745DDC #DC5D86 #C5DC5D #5DDCB4
split-complementary
#745DDC #DCB45D #86DC5D
monochromatic
#38229D #4A2DCF #745DDC #9F8FE7 #CAC2F2

Accessibility & contrast

On white

4.84
#745DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#745DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745DDC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745DDC#FFFFFF#000000##FFFFFF
##745DDC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#517A94
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #745ddc;
/* rgb */ color: rgb(116, 93, 220);
/* oklch */ color: oklch(56.8% 0.186 287.2);
Tailwind
colors: {
  custom: {
    50: '#a38ce8',
    500: '#745ddc',
    950: '#000000',
  },
}
SCSS
$custom: #745ddc;
$custom-light: #a38ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#745ddc",
  "rgb": {
    "r": 116,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 250.866,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56773,
    "c": 0.18597,
    "h": 287.2
  },
  "luminance": 0.16709
}

Semantic roles & 50–950 ramp

primary
#745DDC
secondary
#DAE2B3
accent
#CC19AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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