#745DBB#745DBB

#745DBB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.6% C 0.142 H 292.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#745DBB
RGBrgb(116, 93, 187)
HSLhsl(255, 41%, 55%)
HSVhsv(255, 50%, 73%)
CMYKcmyk(38%, 50.3%, 0%, 26.7%)
CIE-LABlab(45.81, 31.39, -46.56)
CIE-LCHlch(45.81, 56.15, 303.99°)
OKLaboklab(54.57% 0.054 -0.1317)
OKLCHoklch(54.57% 0.142 292.3)
XYZxyz(20.0841, 15.1291, 48.8661)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745DBB #A4BB5D
analogous
#5D75BB #745DBB #A35DBB
triadic
#745DBB #BB745D #5DBB74
tetradic
#745DBB #BB5D75 #A4BB5D #5DBBA3
square
#745DBB #BB5D75 #A4BB5D #5DBBA3
split-complementary
#745DBB #BBA35D #75BB5D
monochromatic
#3E2F6F #57419A #745DBB #9988CD #BEB3DF

Accessibility & contrast

On white

5.22
#745DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #745DBB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745DBB#FFFFFF#000000##FFFFFF
##745DBB1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#627083
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #745dbb;
/* rgb */ color: rgb(116, 93, 187);
/* oklch */ color: oklch(54.6% 0.142 292.3);
Tailwind
colors: {
  custom: {
    50: '#a08bd0',
    500: '#745dbb',
    950: '#000000',
  },
}
SCSS
$custom: #745dbb;
$custom-light: #a08bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#745dbb",
  "rgb": {
    "r": 116,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 254.681,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.14236,
    "h": 292.3
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#745DBB
secondary
#C4CEA6
accent
#D157B3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #745DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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