#745CD8#745CD8

#745CD8 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.182 H 288.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#745CD8
RGBrgb(116, 92, 216)
HSLhsl(252, 61%, 60%)
HSVhsv(252, 57%, 85%)
CMYKcmyk(46.3%, 57.4%, 0%, 15.3%)
CIE-LABlab(47.40, 40.20, -60.70)
CIE-LCHlch(47.40, 72.80, 303.52°)
OKLaboklab(56.33% 0.0563 -0.1733)
OKLCHoklch(56.33% 0.182 288)
XYZxyz(23.4207, 16.3242, 66.8693)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CD8 #C0D85C
analogous
#5C82D8 #745CD8 #B25CD8
triadic
#745CD8 #D8745C #5CD874
tetradic
#745CD8 #D85C82 #C0D85C #5CD8B2
square
#745CD8 #D85C82 #C0D85C #5CD8B2
split-complementary
#745CD8 #D8B25C #82D85C
monochromatic
#3A2496 #4D30C7 #745CD8 #9E8DE4 #C8BFF0

Accessibility & contrast

On white

4.92
#745CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#745CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745CD8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745CD8#FFFFFF#000000##FFFFFF
##745CD81.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#547891
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #745cd8;
/* rgb */ color: rgb(116, 92, 216);
/* oklch */ color: oklch(56.3% 0.182 288.0);
Tailwind
colors: {
  custom: {
    50: '#a38be5',
    500: '#745cd8',
    950: '#000000',
  },
}
SCSS
$custom: #745cd8;
$custom-light: #a38be5;
$custom-dark: #000000;
JSON
{
  "hex": "#745cd8",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 251.613,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.18218,
    "h": 288
  },
  "luminance": 0.16325
}

Semantic roles & 50–950 ramp

primary
#745CD8
secondary
#D6E0B0
accent
#C91CA8
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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