#745DBE#745DBE

#745DBE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.8% C 0.146 H 291.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#745DBE
RGBrgb(116, 93, 190)
HSLhsl(254, 43%, 55%)
HSVhsv(254, 51%, 75%)
CMYKcmyk(38.9%, 51.1%, 0%, 25.5%)
CIE-LABlab(45.99, 32.22, -48.02)
CIE-LCHlch(45.99, 57.83, 303.86°)
OKLaboklab(54.75% 0.0543 -0.136)
OKLCHoklch(54.75% 0.146 291.8)
XYZxyz(20.4086, 15.2589, 50.5752)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745DBE #A7BE5D
analogous
#5D76BE #745DBE #A45DBE
triadic
#745DBE #BE745D #5DBE74
tetradic
#745DBE #BE5D76 #A7BE5D #5DBEA4
square
#745DBE #BE5D76 #A7BE5D #5DBEA4
split-complementary
#745DBE #BEA45D #76BE5D
monochromatic
#3E2E73 #56409E #745DBE #9989D0 #BFB4E1

Accessibility & contrast

On white

5.18
#745DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#745DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745DBE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745DBE#FFFFFF#000000##FFFFFF
##745DBE1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EC1
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#617185
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #745dbe;
/* rgb */ color: rgb(116, 93, 190);
/* oklch */ color: oklch(54.8% 0.146 291.8);
Tailwind
colors: {
  custom: {
    50: '#a08bd2',
    500: '#745dbe',
    950: '#000000',
  },
}
SCSS
$custom: #745dbe;
$custom-light: #a08bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#745dbe",
  "rgb": {
    "r": 116,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 254.227,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54753,
    "c": 0.14642,
    "h": 291.8
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#745DBE
secondary
#C6D0A7
accent
#D355B5
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #745DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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