#745CBD#745CBD

#745CBD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.5% C 0.147 H 292.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#745CBD
RGBrgb(116, 92, 189)
HSLhsl(255, 42%, 55%)
HSVhsv(255, 51%, 74%)
CMYKcmyk(38.6%, 51.3%, 0%, 25.9%)
CIE-LABlab(45.69, 32.54, -47.91)
CIE-LCHlch(45.69, 57.91, 304.18°)
OKLaboklab(54.51% 0.0555 -0.1357)
OKLCHoklch(54.51% 0.147 292.2)
XYZxyz(20.2125, 15.0409, 49.9725)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CBD #A5BD5C
analogous
#5C75BD #745CBD #A45CBD
triadic
#745CBD #BD745C #5CBD74
tetradic
#745CBD #BD5C75 #A5BD5C #5CBDA4
square
#745CBD #BD5C75 #A5BD5C #5CBDA4
split-complementary
#745CBD #BDA45C #75BD5C
monochromatic
#3E2E71 #563F9C #745CBD #9988CF #BEB3E0

Accessibility & contrast

On white

5.24
#745CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#745CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745CBD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745CBD#FFFFFF#000000##FFFFFF
##745CBD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#396ABB
Tritanopia (blue-blind)
#617084
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #745cbd;
/* rgb */ color: rgb(116, 92, 189);
/* oklch */ color: oklch(54.5% 0.147 292.2);
Tailwind
colors: {
  custom: {
    50: '#a08ad1',
    500: '#745cbd',
    950: '#000000',
  },
}
SCSS
$custom: #745cbd;
$custom-light: #a08ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#745cbd",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 254.845,
    "s": 42.358,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54513,
    "c": 0.14659,
    "h": 292.2
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#745CBD
secondary
#C5CFA6
accent
#D256B3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #745CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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