#745BCB#745BCB

#745BCB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.3% C 0.167 H 290.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#745BCB
RGBrgb(116, 91, 203)
HSLhsl(253, 52%, 58%)
HSVhsv(253, 55%, 80%)
CMYKcmyk(42.9%, 55.2%, 0%, 20.4%)
CIE-LABlab(46.32, 37.07, -54.99)
CIE-LCHlch(46.32, 66.32, 303.98°)
OKLaboklab(55.26% 0.0574 -0.1565)
OKLCHoklch(55.26% 0.167 290.1)
XYZxyz(21.7200, 15.5063, 58.3369)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BCB #B2CB5B
analogous
#5B7ACB #745BCB #AC5BCB
triadic
#745BCB #CB745B #5BCB74
tetradic
#745BCB #CB5B7A #B2CB5B #5BCBAC
square
#745BCB #CB5B7A #B2CB5B #5BCBAC
split-complementary
#745BCB #CBAC5B #7ACB5B
monochromatic
#3D2982 #5338B1 #745BCB #9B89DA #C3B8E8

Accessibility & contrast

On white

5.12
#745BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#745BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BCB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BCB#FFFFFF#000000##FFFFFF
##745BCB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2070CF
Deuteranopia (green-blind)
#246BC9
Tritanopia (blue-blind)
#5B738A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #745bcb;
/* rgb */ color: rgb(116, 91, 203);
/* oklch */ color: oklch(55.3% 0.167 290.1);
Tailwind
colors: {
  custom: {
    50: '#a18adb',
    500: '#745bcb',
    950: '#000000',
  },
}
SCSS
$custom: #745bcb;
$custom-light: #a18adb;
$custom-dark: #000000;
JSON
{
  "hex": "#745bcb",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 253.393,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55258,
    "c": 0.16668,
    "h": 290.1
  },
  "luminance": 0.15507
}

Semantic roles & 50–950 ramp

primary
#745BCB
secondary
#CDD7AA
accent
#DB4CBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #745BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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