#745CDC#745CDC

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

Color values

HEX#745CDC
RGBrgb(116, 92, 220)
HSLhsl(251, 65%, 61%)
HSVhsv(251, 58%, 86%)
CMYKcmyk(47.3%, 58.2%, 0%, 13.7%)
CIE-LABlab(47.67, 41.36, -62.54)
CIE-LCHlch(47.67, 74.97, 303.48°)
OKLaboklab(56.61% 0.0562 -0.1787)
OKLCHoklch(56.61% 0.187 287.5)
XYZxyz(23.9441, 16.5336, 69.6259)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CDC #C4DC5C
analogous
#5C84DC #745CDC #B45CDC
triadic
#745CDC #DC745C #5CDC74
tetradic
#745CDC #DC5C84 #C4DC5C #5CDCB4
square
#745CDC #DC5C84 #C4DC5C #5CDCB4
split-complementary
#745CDC #DCB45C #84DC5C
monochromatic
#38229C #4B2CCE #745CDC #9F8EE7 #CAC1F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##745CDC#FFFFFF#000000##FFFFFF
##745CDC1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#517993
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #745cdc;
/* rgb */ color: rgb(116, 92, 220);
/* oklch */ color: oklch(56.6% 0.187 287.5);
Tailwind
colors: {
  custom: {
    50: '#a38be8',
    500: '#745cdc',
    950: '#000000',
  },
}
SCSS
$custom: #745cdc;
$custom-light: #a38be8;
$custom-dark: #000000;
JSON
{
  "hex": "#745cdc",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 251.25,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56609,
    "c": 0.18731,
    "h": 287.5
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

primary
#745CDC
secondary
#D9E2B2
accent
#CC19AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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