#745EA2#745EA2

#745EA2 is a mid, moderate violet. Relative luminance 0.143; OKLCH L 53.3% C 0.106 H 297.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#745EA2
RGBrgb(116, 94, 162)
HSLhsl(259, 27%, 50%)
HSVhsv(259, 42%, 64%)
CMYKcmyk(28.4%, 42%, 0%, 36.5%)
CIE-LABlab(44.70, 24.03, -33.65)
CIE-LCHlch(44.70, 41.35, 305.53°)
OKLaboklab(53.29% 0.0492 -0.0941)
OKLCHoklch(53.29% 0.106 297.6)
XYZxyz(17.7252, 14.3269, 36.0069)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745EA2 #8CA25E
analogous
#5E6AA2 #745EA2 #965EA2
triadic
#745EA2 #A2745E #5EA274
tetradic
#745EA2 #A25E6A #8CA25E #5EA296
square
#745EA2 #A25E6A #8CA25E #5EA296
split-complementary
#745EA2 #A2965E #6AA25E
monochromatic
#3C3155 #58477B #745EA2 #9585B8 #B7ACCF

Accessibility & contrast

On white

5.43
#745EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#745EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745EA2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745EA2#FFFFFF#000000##FFFFFF
##745EA21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#4F69A0
Tritanopia (blue-blind)
#6B6A78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #745ea2;
/* rgb */ color: rgb(116, 94, 162);
/* oklch */ color: oklch(53.3% 0.106 297.6);
Tailwind
colors: {
  custom: {
    50: '#9e8cbe',
    500: '#745ea2',
    950: '#000000',
  },
}
SCSS
$custom: #745ea2;
$custom-light: #9e8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#745ea2",
  "rgb": {
    "r": 116,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 259.412,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.10614,
    "h": 297.6
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#745EA2
secondary
#B3BD9F
accent
#C365A5
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0C12
muted
#7E7D81

Preview Lab

Preview with #745EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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