#745CD2#745CD2

#745CD2 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.174 H 288.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#745CD2
RGBrgb(116, 92, 210)
HSLhsl(252, 57%, 59%)
HSVhsv(252, 56%, 82%)
CMYKcmyk(44.8%, 56.2%, 0%, 17.6%)
CIE-LABlab(47.00, 38.48, -57.91)
CIE-LCHlch(47.00, 69.53, 303.60°)
OKLaboklab(55.91% 0.0563 -0.1651)
OKLCHoklch(55.91% 0.174 288.8)
XYZxyz(22.6592, 16.0196, 62.8585)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CD2 #BAD25C
analogous
#5C7FD2 #745CD2 #AF5CD2
triadic
#745CD2 #D2745C #5CD274
tetradic
#745CD2 #D25C7F #BAD25C #5CD2AF
square
#745CD2 #D25C7F #BAD25C #5CD2AF
split-complementary
#745CD2 #D2AF5C #7FD25C
monochromatic
#3C278D #5034BD #745CD2 #9D8CDF #C6BCEC

Accessibility & contrast

On white

5.00
#745CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#745CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745CD2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745CD2#FFFFFF#000000##FFFFFF
##745CD21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1472D6
Deuteranopia (green-blind)
#186DCF
Tritanopia (blue-blind)
#57768E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #745cd2;
/* rgb */ color: rgb(116, 92, 210);
/* oklch */ color: oklch(55.9% 0.174 288.8);
Tailwind
colors: {
  custom: {
    50: '#a28be0',
    500: '#745cd2',
    950: '#000000',
  },
}
SCSS
$custom: #745cd2;
$custom-light: #a28be0;
$custom-dark: #000000;
JSON
{
  "hex": "#745cd2",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 252.203,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55906,
    "c": 0.17441,
    "h": 288.8
  },
  "luminance": 0.1602
}

Semantic roles & 50–950 ramp

primary
#745CD2
secondary
#D3DCAE
accent
#E048C1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #745CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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