#745BD9#745BD9

#745BD9 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.185 H 288.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#745BD9
RGBrgb(116, 91, 217)
HSLhsl(252, 62%, 60%)
HSVhsv(252, 58%, 85%)
CMYKcmyk(46.5%, 58.1%, 0%, 14.9%)
CIE-LABlab(47.24, 41.07, -61.52)
CIE-LCHlch(47.24, 73.97, 303.73°)
OKLaboklab(56.23% 0.0574 -0.1757)
OKLCHoklch(56.23% 0.185 288.1)
XYZxyz(23.4643, 16.2040, 67.5235)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BD9 #C0D95B
analogous
#5B81D9 #745BD9 #B35BD9
triadic
#745BD9 #D9745B #5BD974
tetradic
#745BD9 #D95B81 #C0D95B #5BD9B3
square
#745BD9 #D95B81 #C0D95B #5BD9B3
split-complementary
#745BD9 #D9B35B #81D95B
monochromatic
#3A2397 #4D2EC8 #745BD9 #9E8DE5 #C8BEF0

Accessibility & contrast

On white

4.95
#745BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#745BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BD9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BD9#FFFFFF#000000##FFFFFF
##745BD91.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#537791
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #745bd9;
/* rgb */ color: rgb(116, 91, 217);
/* oklch */ color: oklch(56.2% 0.185 288.1);
Tailwind
colors: {
  custom: {
    50: '#a38ae5',
    500: '#745bd9',
    950: '#000000',
  },
}
SCSS
$custom: #745bd9;
$custom-light: #a38ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#745bd9",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 251.905,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.18482,
    "h": 288.1
  },
  "luminance": 0.16205
}

Semantic roles & 50–950 ramp

primary
#745BD9
secondary
#D6E0B0
accent
#CA1BA7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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