#745BB2#745BB2

#745BB2 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 53.7% C 0.133 H 294.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#745BB2
RGBrgb(116, 91, 178)
HSLhsl(257, 36%, 53%)
HSVhsv(257, 49%, 70%)
CMYKcmyk(34.8%, 48.9%, 0%, 30.2%)
CIE-LABlab(44.81, 30.11, -42.89)
CIE-LCHlch(44.81, 52.40, 305.07°)
OKLaboklab(53.65% 0.0558 -0.121)
OKLCHoklch(53.65% 0.133 294.7)
XYZxyz(18.9774, 14.4092, 43.8923)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BB2 #99B25B
analogous
#5B6DB2 #745BB2 #9F5BB2
triadic
#745BB2 #B2745B #5BB274
tetradic
#745BB2 #B25B6D #99B25B #5BB29F
square
#745BB2 #B25B6D #99B25B #5BB29F
split-complementary
#745BB2 #B29F5B #6DB25B
monochromatic
#3E2F64 #58428D #745BB2 #9785C6 #BBAED9

Accessibility & contrast

On white

5.41
#745BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#745BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BB2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BB2#FFFFFF#000000##FFFFFF
##745BB21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#666C7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #745bb2;
/* rgb */ color: rgb(116, 91, 178);
/* oklch */ color: oklch(53.7% 0.133 294.7);
Tailwind
colors: {
  custom: {
    50: '#9f8ac9',
    500: '#745bb2',
    950: '#000000',
  },
}
SCSS
$custom: #745bb2;
$custom-light: #9f8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#745bb2",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 257.241,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53652,
    "c": 0.13322,
    "h": 294.7
  },
  "luminance": 0.1441
}

Semantic roles & 50–950 ramp

primary
#745BB2
secondary
#BCC7A2
accent
#CC5CAC
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #745BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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