#745EB2#745EB2

#745EB2 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.2% C 0.128 H 293.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#745EB2
RGBrgb(116, 94, 178)
HSLhsl(256, 35%, 53%)
HSVhsv(256, 47%, 70%)
CMYKcmyk(34.8%, 47.2%, 0%, 30.2%)
CIE-LABlab(45.54, 28.31, -41.73)
CIE-LCHlch(45.54, 50.43, 304.15°)
OKLaboklab(54.2% 0.0517 -0.1176)
OKLCHoklch(54.2% 0.128 293.7)
XYZxyz(19.2390, 14.9324, 43.9795)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745EB2 #9CB25E
analogous
#5E72B2 #745EB2 #9E5EB2
triadic
#745EB2 #B2745E #5EB274
tetradic
#745EB2 #B25E72 #9CB25E #5EB29E
square
#745EB2 #B25E72 #9CB25E #5EB29E
split-complementary
#745EB2 #B29E5E #72B25E
monochromatic
#3E3065 #58448F #745EB2 #9887C6 #BBB1DA

Accessibility & contrast

On white

5.27
#745EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#745EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745EB2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745EB2#FFFFFF#000000##FFFFFF
##745EB21.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#456AB0
Tritanopia (blue-blind)
#656E7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #745eb2;
/* rgb */ color: rgb(116, 94, 178);
/* oklch */ color: oklch(54.2% 0.128 293.7);
Tailwind
colors: {
  custom: {
    50: '#9f8cc9',
    500: '#745eb2',
    950: '#000000',
  },
}
SCSS
$custom: #745eb2;
$custom-light: #9f8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#745eb2",
  "rgb": {
    "r": 116,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 255.714,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54198,
    "c": 0.12847,
    "h": 293.7
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#745EB2
secondary
#BEC8A4
accent
#CB5CAE
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #745EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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