#745BC7#745BC7

#745BC7 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.0% C 0.161 H 290.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#745BC7
RGBrgb(116, 91, 199)
HSLhsl(254, 49%, 57%)
HSVhsv(254, 54%, 78%)
CMYKcmyk(41.7%, 54.3%, 0%, 22%)
CIE-LABlab(46.07, 35.93, -53.09)
CIE-LCHlch(46.07, 64.11, 304.09°)
OKLaboklab(54.99% 0.0573 -0.1509)
OKLCHoklch(54.99% 0.161 290.8)
XYZxyz(21.2495, 15.3180, 55.8588)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BC7 #AEC75B
analogous
#5B78C7 #745BC7 #AA5BC7
triadic
#745BC7 #C7745B #5BC774
tetradic
#745BC7 #C75B78 #AEC75B #5BC7AA
square
#745BC7 #C75B78 #AEC75B #5BC7AA
split-complementary
#745BC7 #C7AA5B #78C75B
monochromatic
#3E2B7D #543AAB #745BC7 #9B89D7 #C1B6E6

Accessibility & contrast

On white

5.17
#745BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#745BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BC7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BC7#FFFFFF#000000##FFFFFF
##745BC71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266FCB
Deuteranopia (green-blind)
#2B6BC5
Tritanopia (blue-blind)
#5D7288
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #745bc7;
/* rgb */ color: rgb(116, 91, 199);
/* oklch */ color: oklch(55.0% 0.161 290.8);
Tailwind
colors: {
  custom: {
    50: '#a18ad9',
    500: '#745bc7',
    950: '#000000',
  },
}
SCSS
$custom: #745bc7;
$custom-light: #a18ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#745bc7",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 253.889,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.16142,
    "h": 290.8
  },
  "luminance": 0.15319
}

Semantic roles & 50–950 ramp

primary
#745BC7
secondary
#CBD5A9
accent
#D94FB9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #745BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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