#745FBD#745FBD

#745FBD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.0% C 0.142 H 291.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#745FBD
RGBrgb(116, 95, 189)
HSLhsl(253, 42%, 56%)
HSVhsv(253, 50%, 74%)
CMYKcmyk(38.6%, 49.7%, 0%, 25.9%)
CIE-LABlab(46.41, 30.75, -46.77)
CIE-LCHlch(46.41, 55.97, 303.33°)
OKLaboklab(55.05% 0.0516 -0.1323)
OKLCHoklch(55.05% 0.142 291.3)
XYZxyz(20.4775, 15.5710, 50.0608)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FBD #A8BD5F
analogous
#5F79BD #745FBD #A35FBD
triadic
#745FBD #BD745F #5FBD74
tetradic
#745FBD #BD5F79 #A8BD5F #5FBDA3
square
#745FBD #BD5F79 #A8BD5F #5FBDA3
split-complementary
#745FBD #BDA35F #79BD5F
monochromatic
#3E2F72 #56419E #745FBD #9A8ACF #BFB6E1

Accessibility & contrast

On white

5.10
#745FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#745FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745FBD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745FBD#FFFFFF#000000##FFFFFF
##745FBD1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FC0
Deuteranopia (green-blind)
#3D6CBB
Tritanopia (blue-blind)
#617285
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #745fbd;
/* rgb */ color: rgb(116, 95, 189);
/* oklch */ color: oklch(55.0% 0.142 291.3);
Tailwind
colors: {
  custom: {
    50: '#a08dd1',
    500: '#745fbd',
    950: '#000000',
  },
}
SCSS
$custom: #745fbd;
$custom-light: #a08dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#745fbd",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 253.404,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55048,
    "c": 0.14203,
    "h": 291.3
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#745FBD
secondary
#C7CFA8
accent
#D156B6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #745FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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