#745BDB#745BDB

#745BDB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.187 H 287.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#745BDB
RGBrgb(116, 91, 219)
HSLhsl(252, 64%, 61%)
HSVhsv(252, 58%, 86%)
CMYKcmyk(47%, 58.4%, 0%, 14.1%)
CIE-LABlab(47.38, 41.65, -62.44)
CIE-LCHlch(47.38, 75.05, 303.70°)
OKLaboklab(56.37% 0.0574 -0.1784)
OKLCHoklch(56.37% 0.187 287.8)
XYZxyz(23.7260, 16.3087, 68.9018)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BDB #C2DB5B
analogous
#5B82DB #745BDB #B45BDB
triadic
#745BDB #DB745B #5BDB74
tetradic
#745BDB #DB5B82 #C2DB5B #5BDBB4
square
#745BDB #DB5B82 #C2DB5B #5BDBB4
split-complementary
#745BDB #DBB45B #82DB5B
monochromatic
#39229A #4C2DCC #745BDB #9F8DE6 #C9BFF1

Accessibility & contrast

On white

4.93
#745BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#745BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BDB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BDB#FFFFFF#000000##FFFFFF
##745BDB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#527892
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #745bdb;
/* rgb */ color: rgb(116, 91, 219);
/* oklch */ color: oklch(56.4% 0.187 287.8);
Tailwind
colors: {
  custom: {
    50: '#a38ae7',
    500: '#745bdb',
    950: '#000000',
  },
}
SCSS
$custom: #745bdb;
$custom-light: #a38ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#745bdb",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 251.719,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.18737,
    "h": 287.8
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#745BDB
secondary
#D8E1B1
accent
#CC1AA9
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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