#745EB7#745EB7

#745EB7 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.5% C 0.135 H 292.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#745EB7
RGBrgb(116, 94, 183)
HSLhsl(255, 38%, 54%)
HSVhsv(255, 49%, 72%)
CMYKcmyk(36.6%, 48.6%, 0%, 28.2%)
CIE-LABlab(45.82, 29.68, -44.21)
CIE-LCHlch(45.82, 53.25, 303.88°)
OKLaboklab(54.5% 0.0523 -0.1248)
OKLCHoklch(54.5% 0.135 292.7)
XYZxyz(19.7502, 15.1369, 46.6717)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745EB7 #A1B75E
analogous
#5E75B7 #745EB7 #A05EB7
triadic
#745EB7 #B7745E #5EB774
tetradic
#745EB7 #B75E75 #A1B75E #5EB7A0
square
#745EB7 #B75E75 #A1B75E #5EB7A0
split-complementary
#745EB7 #B7A05E #75B75E
monochromatic
#3E306B #574395 #745EB7 #9988CA #BDB3DD

Accessibility & contrast

On white

5.21
#745EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#745EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745EB7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745EB7#FFFFFF#000000##FFFFFF
##745EB71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#416BB5
Tritanopia (blue-blind)
#636F82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #745eb7;
/* rgb */ color: rgb(116, 94, 183);
/* oklch */ color: oklch(54.5% 0.135 292.7);
Tailwind
colors: {
  custom: {
    50: '#9f8ccd',
    500: '#745eb7',
    950: '#000000',
  },
}
SCSS
$custom: #745eb7;
$custom-light: #9f8ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#745eb7",
  "rgb": {
    "r": 116,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 254.831,
    "s": 38.197,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.13536,
    "h": 292.7
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#745EB7
secondary
#C2CBA6
accent
#CE5AB1
background
#FAF8FC
surface
#F3F0F9
border
#CDCBD2
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #745EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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