#745797#745797

#745797 is a mid, moderate violet. Relative luminance 0.128; OKLCH L 51.4% C 0.103 H 303.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#745797
RGBrgb(116, 87, 151)
HSLhsl(267, 27%, 47%)
HSVhsv(267, 42%, 59%)
CMYKcmyk(23.2%, 42.4%, 0%, 40.8%)
CIE-LABlab(42.41, 25.45, -30.71)
CIE-LCHlch(42.41, 39.88, 309.65°)
OKLaboklab(51.38% 0.0574 -0.0855)
OKLCHoklch(51.38% 0.103 303.9)
XYZxyz(16.1954, 12.7638, 30.8826)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745797 #7A9757
analogous
#575A97 #745797 #945797
triadic
#745797 #977457 #579774
tetradic
#745797 #97575A #7A9757 #579794
square
#745797 #97575A #7A9757 #579794
split-complementary
#745797 #979457 #5A9757
monochromatic
#382A49 #564170 #745797 #9379B2 #B2A0C8

Accessibility & contrast

On white

5.91
#745797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#745797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745797
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745797#FFFFFF#000000##FFFFFF
##7457971.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476399
Deuteranopia (green-blind)
#4E6495
Tritanopia (blue-blind)
#6E6170
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #745797;
/* rgb */ color: rgb(116, 87, 151);
/* oklch */ color: oklch(51.4% 0.103 303.9);
Tailwind
colors: {
  custom: {
    50: '#9d87b6',
    500: '#745797',
    950: '#000000',
  },
}
SCSS
$custom: #745797;
$custom-light: #9d87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#745797",
  "rgb": {
    "r": 116,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 267.188,
    "s": 26.891,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.103,
    "h": 303.9
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#745797
secondary
#A6B694
accent
#C36598
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #745797

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

Preview Lab → · Contrast checker → · Palette generator →

#745797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva