#745C8A#745C8A

#745C8A is a mid, moderate violet. Relative luminance 0.132; OKLCH L 51.7% C 0.076 H 307.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#745C8A
RGBrgb(116, 92, 138)
HSLhsl(271, 20%, 45%)
HSVhsv(271, 33%, 54%)
CMYKcmyk(15.9%, 33.3%, 0%, 45.9%)
CIE-LABlab(43.07, 19.25, -21.87)
CIE-LCHlch(43.07, 29.14, 311.36°)
OKLaboklab(51.68% 0.0466 -0.0601)
OKLCHoklch(51.68% 0.076 307.8)
XYZxyz(15.6162, 13.2024, 25.7655)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745C8A #728A5C
analogous
#5D5C8A #745C8A #8A5C89
triadic
#745C8A #8A745C #5C8A74
tetradic
#745C8A #8A5D5C #728A5C #5C898A
square
#745C8A #8A5D5C #728A5C #5C898A
split-complementary
#745C8A #898A5C #5C8A5D
monochromatic
#362B41 #554465 #745C8A #937CA7 #B1A0C0

Accessibility & contrast

On white

5.77
#745C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#745C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745C8A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745C8A#FFFFFF#000000##FFFFFF
##745C8A1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658C
Deuteranopia (green-blind)
#586689
Tritanopia (blue-blind)
#71626D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #745c8a;
/* rgb */ color: rgb(116, 92, 138);
/* oklch */ color: oklch(51.7% 0.076 307.8);
Tailwind
colors: {
  custom: {
    50: '#9c8aac',
    500: '#745c8a',
    950: '#000000',
  },
}
SCSS
$custom: #745c8a;
$custom-light: #9c8aac;
$custom-dark: #000000;
JSON
{
  "hex": "#745c8a",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 271.304,
    "s": 20,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.07609,
    "h": 307.8
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#745C8A
secondary
#A0AE94
accent
#BD6B92
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0B10
muted
#7E7C7F

Preview Lab

Preview with #745C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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