#745CB2#745CB2

#745CB2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 53.8% C 0.132 H 294.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#745CB2
RGBrgb(116, 92, 178)
HSLhsl(257, 36%, 53%)
HSVhsv(257, 48%, 70%)
CMYKcmyk(34.8%, 48.3%, 0%, 30.2%)
CIE-LABlab(45.06, 29.51, -42.51)
CIE-LCHlch(45.06, 51.75, 304.77°)
OKLaboklab(53.83% 0.0544 -0.1199)
OKLCHoklch(53.83% 0.132 294.4)
XYZxyz(19.0634, 14.5813, 43.9209)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CB2 #9AB25C
analogous
#5C6FB2 #745CB2 #9F5CB2
triadic
#745CB2 #B2745C #5CB274
tetradic
#745CB2 #B25C6F #9AB25C #5CB29F
square
#745CB2 #B25C6F #9AB25C #5CB29F
split-complementary
#745CB2 #B29F5C #6FB25C
monochromatic
#3E2F64 #58438E #745CB2 #9786C6 #BBAFD9

Accessibility & contrast

On white

5.36
#745CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#745CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745CB2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745CB2#FFFFFF#000000##FFFFFF
##745CB21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB5
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#656D7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #745cb2;
/* rgb */ color: rgb(116, 92, 178);
/* oklch */ color: oklch(53.8% 0.132 294.4);
Tailwind
colors: {
  custom: {
    50: '#9f8ac9',
    500: '#745cb2',
    950: '#000000',
  },
}
SCSS
$custom: #745cb2;
$custom-light: #9f8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#745cb2",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 256.744,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53833,
    "c": 0.13164,
    "h": 294.4
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#745CB2
secondary
#BDC7A2
accent
#CC5CAD
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #745CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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