#745BCF#745BCF

#745BCF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.5% C 0.172 H 289.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#745BCF
RGBrgb(116, 91, 207)
HSLhsl(253, 55%, 58%)
HSVhsv(253, 56%, 81%)
CMYKcmyk(44%, 56%, 0%, 18.8%)
CIE-LABlab(46.58, 38.20, -56.87)
CIE-LCHlch(46.58, 68.51, 303.89°)
OKLaboklab(55.53% 0.0575 -0.162)
OKLCHoklch(55.53% 0.172 289.5)
XYZxyz(22.2029, 15.6994, 60.8798)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BCF #B6CF5B
analogous
#5B7CCF #745BCF #AE5BCF
triadic
#745BCF #CF745B #5BCF74
tetradic
#745BCF #CF5B7C #B6CF5B #5BCFAE
square
#745BCF #CF5B7C #B6CF5B #5BCFAE
split-complementary
#745BCF #CFAE5B #7CCF5B
monochromatic
#3C2888 #5236B7 #745BCF #9C8ADD #C4BAEB

Accessibility & contrast

On white

5.07
#745BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#745BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BCF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BCF#FFFFFF#000000##FFFFFF
##745BCF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1871D3
Deuteranopia (green-blind)
#1C6CCC
Tritanopia (blue-blind)
#59748C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #745bcf;
/* rgb */ color: rgb(116, 91, 207);
/* oklch */ color: oklch(55.5% 0.172 289.5);
Tailwind
colors: {
  custom: {
    50: '#a28ade',
    500: '#745bcf',
    950: '#000000',
  },
}
SCSS
$custom: #745bcf;
$custom-light: #a28ade;
$custom-dark: #000000;
JSON
{
  "hex": "#745bcf",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 252.931,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.17191,
    "h": 289.5
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

primary
#745BCF
secondary
#D0DAAC
accent
#DE4ABE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #745BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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