#745CEC#745CEC

#745CEC is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.207 H 285.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#745CEC
RGBrgb(116, 92, 236)
HSLhsl(250, 79%, 64%)
HSVhsv(250, 61%, 93%)
CMYKcmyk(50.8%, 61%, 0%, 7.5%)
CIE-LABlab(48.79, 46.01, -69.76)
CIE-LCHlch(48.79, 83.56, 303.40°)
OKLaboklab(57.79% 0.0556 -0.1999)
OKLCHoklch(57.79% 0.207 285.5)
XYZxyz(26.1654, 17.4221, 81.3247)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CEC #D4EC5C
analogous
#5C8CEC #745CEC #BC5CEC
triadic
#745CEC #EC745C #5CEC74
tetradic
#745CEC #EC5C8C #D4EC5C #5CECBC
square
#745CEC #EC5C8C #D4EC5C #5CECBC
split-complementary
#745CEC #ECBC5C #8CEC5C
monochromatic
#3115B8 #4525E6 #745CEC #A393F2 #D1CAF9

Accessibility & contrast

On white

4.68
#745CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#745CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745CEC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745CEC#FFFFFF#000000##FFFFFF
##745CEC1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#467E9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #745cec;
/* rgb */ color: rgb(116, 92, 236);
/* oklch */ color: oklch(57.8% 0.207 285.5);
Tailwind
colors: {
  custom: {
    50: '#a58bf3',
    500: '#745cec',
    950: '#000000',
  },
}
SCSS
$custom: #745cec;
$custom-light: #a58bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#745cec",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 250,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57785,
    "c": 0.20749,
    "h": 285.5
  },
  "luminance": 0.17423
}

Semantic roles & 50–950 ramp

primary
#745CEC
secondary
#E3EBB9
accent
#DB0AB9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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