#745FDC#745FDC

#745FDC is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.183 H 286.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#745FDC
RGBrgb(116, 95, 220)
HSLhsl(250, 64%, 62%)
HSVhsv(250, 57%, 86%)
CMYKcmyk(47.3%, 56.8%, 0%, 13.7%)
CIE-LABlab(48.34, 39.62, -61.45)
CIE-LCHlch(48.34, 73.11, 302.81°)
OKLaboklab(57.11% 0.0529 -0.1755)
OKLCHoklch(57.11% 0.183 286.8)
XYZxyz(24.2092, 17.0637, 69.7143)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FDC #C7DC5F
analogous
#5F89DC #745FDC #B35FDC
triadic
#745FDC #DC745F #5FDC74
tetradic
#745FDC #DC5F89 #C7DC5F #5FDCB3
square
#745FDC #DC5F89 #C7DC5F #5FDCB3
split-complementary
#745FDC #DCB35F #89DC5F
monochromatic
#37239E #492ED0 #745FDC #A091E7 #CBC3F2

Accessibility & contrast

On white

4.76
#745FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#745FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745FDC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745FDC#FFFFFF#000000##FFFFFF
##745FDC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0176E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#517B94
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #745fdc;
/* rgb */ color: rgb(116, 95, 220);
/* oklch */ color: oklch(57.1% 0.183 286.8);
Tailwind
colors: {
  custom: {
    50: '#a38de8',
    500: '#745fdc',
    950: '#000000',
  },
}
SCSS
$custom: #745fdc;
$custom-light: #a38de8;
$custom-dark: #000000;
JSON
{
  "hex": "#745fdc",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 250.08,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57105,
    "c": 0.18327,
    "h": 286.8
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#745FDC
secondary
#DBE3B4
accent
#CC1AAE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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