#745794#745794

#745794 is a mid, moderate violet. Relative luminance 0.127; OKLCH L 51.2% C 0.099 H 305.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#745794
RGBrgb(116, 87, 148)
HSLhsl(269, 26%, 46%)
HSVhsv(269, 41%, 58%)
CMYKcmyk(21.6%, 41.2%, 0%, 42%)
CIE-LABlab(42.26, 24.71, -29.14)
CIE-LCHlch(42.26, 38.20, 310.29°)
OKLaboklab(51.22% 0.0568 -0.081)
OKLCHoklch(51.22% 0.099 305.1)
XYZxyz(15.9549, 12.6676, 29.6158)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745794 #779457
analogous
#575894 #745794 #925794
triadic
#745794 #947457 #579474
tetradic
#745794 #945758 #779457 #579492
square
#745794 #945758 #779457 #579492
split-complementary
#745794 #949257 #589457
monochromatic
#382A47 #56406D #745794 #9378B0 #B29FC7

Accessibility & contrast

On white

5.94
#745794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#745794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745794
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745794#FFFFFF#000000##FFFFFF
##7457941.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496396
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#6F616E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #745794;
/* rgb */ color: rgb(116, 87, 148);
/* oklch */ color: oklch(51.2% 0.099 305.1);
Tailwind
colors: {
  custom: {
    50: '#9d87b3',
    500: '#745794',
    950: '#000000',
  },
}
SCSS
$custom: #745794;
$custom-light: #9d87b3;
$custom-dark: #000000;
JSON
{
  "hex": "#745794",
  "rgb": {
    "r": 116,
    "g": 87,
    "b": 148
  },
  "hsl": {
    "h": 268.525,
    "s": 25.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51215,
    "c": 0.09893,
    "h": 305.1
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#745794
secondary
#A4B493
accent
#C26596
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #745794

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

Preview Lab → · Contrast checker → · Palette generator →

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