#745BCA#745BCA

#745BCA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.2% C 0.165 H 290.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#745BCA
RGBrgb(116, 91, 202)
HSLhsl(254, 51%, 57%)
HSVhsv(254, 55%, 79%)
CMYKcmyk(42.6%, 55%, 0%, 20.8%)
CIE-LABlab(46.26, 36.78, -54.52)
CIE-LCHlch(46.26, 65.77, 304.01°)
OKLaboklab(55.19% 0.0574 -0.1551)
OKLCHoklch(55.19% 0.165 290.3)
XYZxyz(21.6013, 15.4587, 57.7114)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BCA #B1CA5B
analogous
#5B79CA #745BCA #AC5BCA
triadic
#745BCA #CA745B #5BCA74
tetradic
#745BCA #CA5B79 #B1CA5B #5BCAAC
square
#745BCA #CA5B79 #B1CA5B #5BCAAC
split-complementary
#745BCA #CAAC5B #79CA5B
monochromatic
#3D2A81 #5339AF #745BCA #9B89D9 #C2B8E8

Accessibility & contrast

On white

5.13
#745BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#745BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BCA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BCA#FFFFFF#000000##FFFFFF
##745BCA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#5B738A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #745bca;
/* rgb */ color: rgb(116, 91, 202);
/* oklch */ color: oklch(55.2% 0.165 290.3);
Tailwind
colors: {
  custom: {
    50: '#a18adb',
    500: '#745bca',
    950: '#000000',
  },
}
SCSS
$custom: #745bca;
$custom-light: #a18adb;
$custom-dark: #000000;
JSON
{
  "hex": "#745bca",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 253.514,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55191,
    "c": 0.16537,
    "h": 290.3
  },
  "luminance": 0.15459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #745BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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