#745BC2#745BC2

#745BC2 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.155 H 291.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#745BC2
RGBrgb(116, 91, 194)
HSLhsl(255, 46%, 56%)
HSVhsv(255, 53%, 76%)
CMYKcmyk(40.2%, 53.1%, 0%, 23.9%)
CIE-LABlab(45.76, 34.53, -50.70)
CIE-LCHlch(45.76, 61.34, 304.25°)
OKLaboklab(54.66% 0.0571 -0.1439)
OKLCHoklch(54.66% 0.155 291.6)
XYZxyz(20.6785, 15.0896, 52.8516)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BC2 #A9C25B
analogous
#5B75C2 #745BC2 #A75BC2
triadic
#745BC2 #C2745B #5BC274
tetradic
#745BC2 #C25B75 #A9C25B #5BC2A7
square
#745BC2 #C25B75 #A9C25B #5BC2A7
split-complementary
#745BC2 #C2A75B #75C25B
monochromatic
#3E2C77 #563DA3 #745BC2 #9A88D3 #C0B4E3

Accessibility & contrast

On white

5.23
#745BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#745BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BC2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BC2#FFFFFF#000000##FFFFFF
##745BC21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC6
Deuteranopia (green-blind)
#316AC0
Tritanopia (blue-blind)
#5F7086
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #745bc2;
/* rgb */ color: rgb(116, 91, 194);
/* oklch */ color: oklch(54.7% 0.155 291.6);
Tailwind
colors: {
  custom: {
    50: '#a08ad5',
    500: '#745bc2',
    950: '#000000',
  },
}
SCSS
$custom: #745bc2;
$custom-light: #a08ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#745bc2",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 254.563,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.15479,
    "h": 291.6
  },
  "luminance": 0.1509
}

Semantic roles & 50–950 ramp

primary
#745BC2
secondary
#C7D2A7
accent
#D552B6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #745BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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