#745DCC#745DCC

#745DCC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.7% C 0.165 H 289.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#745DCC
RGBrgb(116, 93, 204)
HSLhsl(252, 52%, 58%)
HSVhsv(252, 54%, 80%)
CMYKcmyk(43.1%, 54.4%, 0%, 20%)
CIE-LABlab(46.84, 36.18, -54.72)
CIE-LCHlch(46.84, 65.60, 303.47°)
OKLaboklab(55.67% 0.055 -0.1557)
OKLCHoklch(55.67% 0.165 289.5)
XYZxyz(22.0128, 15.9006, 59.0243)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745DCC #B5CC5D
analogous
#5D7DCC #745DCC #AB5DCC
triadic
#745DCC #CC745D #5DCC74
tetradic
#745DCC #CC5D7D #B5CC5D #5DCCAB
square
#745DCC #CC5D7D #B5CC5D #5DCCAB
split-complementary
#745DCC #CCAB5D #7DCC5D
monochromatic
#3D2A85 #5238B3 #745DCC #9C8CDB #C4BAE9

Accessibility & contrast

On white

5.02
#745DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#745DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745DCC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745DCC#FFFFFF#000000##FFFFFF
##745DCC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2571D0
Deuteranopia (green-blind)
#276CCA
Tritanopia (blue-blind)
#5A758B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #745dcc;
/* rgb */ color: rgb(116, 93, 204);
/* oklch */ color: oklch(55.7% 0.165 289.5);
Tailwind
colors: {
  custom: {
    50: '#a18bdc',
    500: '#745dcc',
    950: '#000000',
  },
}
SCSS
$custom: #745dcc;
$custom-light: #a18bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#745dcc",
  "rgb": {
    "r": 116,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 252.432,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55666,
    "c": 0.16514,
    "h": 289.5
  },
  "luminance": 0.15901
}

Semantic roles & 50–950 ramp

primary
#745DCC
secondary
#CFD9AC
accent
#DC4CBE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #745DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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