#745FCC#745FCC

#745FCC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.0% C 0.162 H 288.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#745FCC
RGBrgb(116, 95, 204)
HSLhsl(252, 52%, 59%)
HSVhsv(252, 53%, 80%)
CMYKcmyk(43.1%, 53.4%, 0%, 20%)
CIE-LABlab(47.31, 35.00, -53.98)
CIE-LCHlch(47.31, 64.33, 302.96°)
OKLaboklab(56.01% 0.0526 -0.1535)
OKLCHoklch(56.01% 0.162 288.9)
XYZxyz(22.1907, 16.2563, 59.0836)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FCC #B7CC5F
analogous
#5F80CC #745FCC #AA5FCC
triadic
#745FCC #CC745F #5FCC74
tetradic
#745FCC #CC5F80 #B7CC5F #5FCCAA
square
#745FCC #CC5F80 #B7CC5F #5FCCAA
split-complementary
#745FCC #CCAA5F #80CC5F
monochromatic
#3C2B86 #5139B4 #745FCC #9C8DDB #C5BCEA

Accessibility & contrast

On white

4.94
#745FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#745FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745FCC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745FCC#FFFFFF#000000##FFFFFF
##745FCC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D0
Deuteranopia (green-blind)
#2C6ECA
Tritanopia (blue-blind)
#5A768C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #745fcc;
/* rgb */ color: rgb(116, 95, 204);
/* oklch */ color: oklch(56.0% 0.162 288.9);
Tailwind
colors: {
  custom: {
    50: '#a18ddc',
    500: '#745fcc',
    950: '#000000',
  },
}
SCSS
$custom: #745fcc;
$custom-light: #a18ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#745fcc",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 251.56,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.16227,
    "h": 288.9
  },
  "luminance": 0.16257
}

Semantic roles & 50–950 ramp

primary
#745FCC
secondary
#D1D9AE
accent
#DB4DC0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #745FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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