#745DC7#745DC7

#745DC7 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.3% C 0.159 H 290.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#745DC7
RGBrgb(116, 93, 199)
HSLhsl(253, 49%, 57%)
HSVhsv(253, 53%, 78%)
CMYKcmyk(41.7%, 53.3%, 0%, 22%)
CIE-LABlab(46.53, 34.76, -52.35)
CIE-LCHlch(46.53, 62.84, 303.58°)
OKLaboklab(55.33% 0.0548 -0.1487)
OKLCHoklch(55.33% 0.159 290.2)
XYZxyz(21.4228, 15.6645, 55.9166)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745DC7 #B0C75D
analogous
#5D7BC7 #745DC7 #A95DC7
triadic
#745DC7 #C7745D #5DC774
tetradic
#745DC7 #C75D7B #B0C75D #5DC7A9
square
#745DC7 #C75D7B #B0C75D #5DC7A9
split-complementary
#745DC7 #C7A95D #7BC75D
monochromatic
#3D2C7E #543BAC #745DC7 #9B8AD7 #C2B8E6

Accessibility & contrast

On white

5.08
#745DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#745DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745DC7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745DC7#FFFFFF#000000##FFFFFF
##745DC71.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C70CB
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#5D7389
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #745dc7;
/* rgb */ color: rgb(116, 93, 199);
/* oklch */ color: oklch(55.3% 0.159 290.2);
Tailwind
colors: {
  custom: {
    50: '#a18bd9',
    500: '#745dc7',
    950: '#000000',
  },
}
SCSS
$custom: #745dc7;
$custom-light: #a18bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#745dc7",
  "rgb": {
    "r": 116,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 253.019,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55334,
    "c": 0.15851,
    "h": 290.2
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#745DC7
secondary
#CCD5AA
accent
#D850BB
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #745DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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