#745FCB#745FCB

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

Color values

HEX#745FCB
RGBrgb(116, 95, 203)
HSLhsl(252, 51%, 58%)
HSVhsv(252, 53%, 80%)
CMYKcmyk(42.9%, 53.2%, 0%, 20.4%)
CIE-LABlab(47.25, 34.71, -53.50)
CIE-LCHlch(47.25, 63.77, 302.97°)
OKLaboklab(55.95% 0.0526 -0.1521)
OKLCHoklch(55.95% 0.161 289.1)
XYZxyz(22.0711, 16.2085, 58.4540)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FCB #B6CB5F
analogous
#5F80CB #745FCB #AA5FCB
triadic
#745FCB #CB745F #5FCB74
tetradic
#745FCB #CB5F80 #B6CB5F #5FCBAA
square
#745FCB #CB5F80 #B6CB5F #5FCBAA
split-complementary
#745FCB #CBAA5F #80CB5F
monochromatic
#3C2B85 #523AB3 #745FCB #9C8DDA #C4BBE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##745FCB#FFFFFF#000000##FFFFFF
##745FCB1.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)
#2C72CF
Deuteranopia (green-blind)
#2D6DC9
Tritanopia (blue-blind)
#5B768C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #745fcb;
/* rgb */ color: rgb(116, 95, 203);
/* oklch */ color: oklch(55.9% 0.161 289.1);
Tailwind
colors: {
  custom: {
    50: '#a18ddb',
    500: '#745fcb',
    950: '#000000',
  },
}
SCSS
$custom: #745fcb;
$custom-light: #a18ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#745fcb",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 251.667,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55946,
    "c": 0.16093,
    "h": 289.1
  },
  "luminance": 0.16209
}

Semantic roles & 50–950 ramp

primary
#745FCB
secondary
#D0D8AD
accent
#DA4DBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #745FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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