#745CD7#745CD7

#745CD7 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.181 H 288.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#745CD7
RGBrgb(116, 92, 215)
HSLhsl(252, 61%, 60%)
HSVhsv(252, 57%, 84%)
CMYKcmyk(46%, 57.2%, 0%, 15.7%)
CIE-LABlab(47.33, 39.91, -60.23)
CIE-LCHlch(47.33, 72.26, 303.53°)
OKLaboklab(56.25% 0.0563 -0.1719)
OKLCHoklch(56.25% 0.181 288.1)
XYZxyz(23.2918, 16.2727, 66.1905)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CD7 #BFD75C
analogous
#5C82D7 #745CD7 #B15CD7
triadic
#745CD7 #D7745C #5CD774
tetradic
#745CD7 #D75C82 #BFD75C #5CD7B1
square
#745CD7 #D75C82 #BFD75C #5CD7B1
split-complementary
#745CD7 #D7B15C #82D75C
monochromatic
#3A2494 #4D30C5 #745CD7 #9E8DE3 #C8BEEF

Accessibility & contrast

On white

4.94
#745CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#745CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745CD7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745CD7#FFFFFF#000000##FFFFFF
##745CD71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#046DD4
Tritanopia (blue-blind)
#547891
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #745cd7;
/* rgb */ color: rgb(116, 92, 215);
/* oklch */ color: oklch(56.3% 0.181 288.1);
Tailwind
colors: {
  custom: {
    50: '#a28be4',
    500: '#745cd7',
    950: '#000000',
  },
}
SCSS
$custom: #745cd7;
$custom-light: #a28be4;
$custom-dark: #000000;
JSON
{
  "hex": "#745cd7",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 251.707,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.18089,
    "h": 288.1
  },
  "luminance": 0.16274
}

Semantic roles & 50–950 ramp

primary
#745CD7
secondary
#D6DFB0
accent
#C81DA7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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