#745EAF#745EAF

#745EAF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.0% C 0.124 H 294.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#745EAF
RGBrgb(116, 94, 175)
HSLhsl(256, 34%, 53%)
HSVhsv(256, 46%, 69%)
CMYKcmyk(33.7%, 46.3%, 0%, 31.4%)
CIE-LABlab(45.38, 27.49, -40.24)
CIE-LCHlch(45.38, 48.73, 304.34°)
OKLaboklab(54.02% 0.0513 -0.1132)
OKLCHoklch(54.02% 0.124 294.4)
XYZxyz(18.9411, 14.8132, 42.4104)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745EAF #99AF5E
analogous
#5E71AF #745EAF #9C5EAF
triadic
#745EAF #AF745E #5EAF74
tetradic
#745EAF #AF5E71 #99AF5E #5EAF9C
square
#745EAF #AF5E71 #99AF5E #5EAF9C
split-complementary
#745EAF #AF9C5E #71AF5E
monochromatic
#3E3162 #58458B #745EAF #9787C3 #BBB0D8

Accessibility & contrast

On white

5.30
#745EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#745EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745EAF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745EAF#FFFFFF#000000##FFFFFF
##745EAF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#666D7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #745eaf;
/* rgb */ color: rgb(116, 94, 175);
/* oklch */ color: oklch(54.0% 0.124 294.4);
Tailwind
colors: {
  custom: {
    50: '#9e8cc7',
    500: '#745eaf',
    950: '#000000',
  },
}
SCSS
$custom: #745eaf;
$custom-light: #9e8cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#745eaf",
  "rgb": {
    "r": 116,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 256.296,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.12432,
    "h": 294.4
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#745EAF
secondary
#BCC6A3
accent
#CA5EAC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0F0C13
muted
#7E7D82

Preview Lab

Preview with #745EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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