#745BA2#745BA2

#745BA2 is a mid, moderate violet. Relative luminance 0.138; OKLCH L 52.7% C 0.111 H 298.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#745BA2
RGBrgb(116, 91, 162)
HSLhsl(261, 28%, 50%)
HSVhsv(261, 44%, 64%)
CMYKcmyk(28.4%, 43.8%, 0%, 36.5%)
CIE-LABlab(43.95, 25.85, -34.83)
CIE-LCHlch(43.95, 43.37, 306.58°)
OKLaboklab(52.72% 0.0535 -0.0975)
OKLCHoklch(52.72% 0.111 298.8)
XYZxyz(17.4636, 13.8037, 35.9197)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BA2 #89A25B
analogous
#5B66A2 #745BA2 #985BA2
triadic
#745BA2 #A2745B #5BA274
tetradic
#745BA2 #A25B66 #89A25B #5BA298
square
#745BA2 #A25B66 #89A25B #5BA298
split-complementary
#745BA2 #A2985B #66A25B
monochromatic
#3C2F54 #58457B #745BA2 #9582B9 #B6A9CF

Accessibility & contrast

On white

5.58
#745BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#745BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BA2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BA2#FFFFFF#000000##FFFFFF
##745BA21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#6B6777
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #745ba2;
/* rgb */ color: rgb(116, 91, 162);
/* oklch */ color: oklch(52.7% 0.111 298.8);
Tailwind
colors: {
  custom: {
    50: '#9e8abe',
    500: '#745ba2',
    950: '#000000',
  },
}
SCSS
$custom: #745ba2;
$custom-light: #9e8abe;
$custom-dark: #000000;
JSON
{
  "hex": "#745ba2",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 261.127,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52722,
    "c": 0.11121,
    "h": 298.8
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#745BA2
secondary
#B1BD9C
accent
#C463A2
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #745BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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