#745DE7#745DE7

#745DE7 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.200 H 285.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#745DE7
RGBrgb(116, 93, 231)
HSLhsl(250, 74%, 64%)
HSVhsv(250, 60%, 91%)
CMYKcmyk(49.8%, 59.7%, 0%, 9.4%)
CIE-LABlab(48.65, 43.98, -67.17)
CIE-LCHlch(48.65, 80.29, 303.21°)
OKLaboklab(57.57% 0.0548 -0.1923)
OKLCHoklch(57.57% 0.2 285.9)
XYZxyz(25.5363, 17.3100, 77.5814)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745DE7 #D0E75D
analogous
#5D8BE7 #745DE7 #B95DE7
triadic
#745DE7 #E7745D #5DE774
tetradic
#745DE7 #E75D8B #D0E75D #5DE7B9
square
#745DE7 #E75D8B #D0E75D #5DE7B9
split-complementary
#745DE7 #E7B95D #8BE75D
monochromatic
#331AB0 #4628DF #745DE7 #A292EF #CFC8F7

Accessibility & contrast

On white

4.71
#745DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#745DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745DE7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745DE7#FFFFFF#000000##FFFFFF
##745DE71.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#4A7D99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #745de7;
/* rgb */ color: rgb(116, 93, 231);
/* oklch */ color: oklch(57.6% 0.200 285.9);
Tailwind
colors: {
  custom: {
    50: '#a48cef',
    500: '#745de7',
    950: '#000000',
  },
}
SCSS
$custom: #745de7;
$custom-light: #a48cef;
$custom-dark: #000000;
JSON
{
  "hex": "#745de7",
  "rgb": {
    "r": 116,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 250,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57571,
    "c": 0.19997,
    "h": 285.9
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#745DE7
secondary
#E0E8B7
accent
#D60FB5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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