#745BD6#745BD6

#745BD6 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.0% C 0.181 H 288.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#745BD6
RGBrgb(116, 91, 214)
HSLhsl(252, 60%, 60%)
HSVhsv(252, 57%, 84%)
CMYKcmyk(45.8%, 57.5%, 0%, 16.1%)
CIE-LABlab(47.04, 40.21, -60.13)
CIE-LCHlch(47.04, 72.34, 303.77°)
OKLaboklab(56.02% 0.0574 -0.1716)
OKLCHoklch(56.02% 0.181 288.5)
XYZxyz(23.0777, 16.0493, 65.4872)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BD6 #BDD65B
analogous
#5B80D6 #745BD6 #B15BD6
triadic
#745BD6 #D6745B #5BD674
tetradic
#745BD6 #D65B80 #BDD65B #5BD6B1
square
#745BD6 #D65B80 #BDD65B #5BD6B1
split-complementary
#745BD6 #D6B15B #80D65B
monochromatic
#3B2592 #4E31C3 #745BD6 #9D8CE2 #C7BDEE

Accessibility & contrast

On white

4.99
#745BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#745BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BD6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BD6#FFFFFF#000000##FFFFFF
##745BD61.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#036CD3
Tritanopia (blue-blind)
#557790
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #745bd6;
/* rgb */ color: rgb(116, 91, 214);
/* oklch */ color: oklch(56.0% 0.181 288.5);
Tailwind
colors: {
  custom: {
    50: '#a28ae3',
    500: '#745bd6',
    950: '#000000',
  },
}
SCSS
$custom: #745bd6;
$custom-light: #a28ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#745bd6",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 252.195,
    "s": 60,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.18097,
    "h": 288.5
  },
  "luminance": 0.1605
}

Semantic roles & 50–950 ramp

primary
#745BD6
secondary
#D5DEAF
accent
#E345C3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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