#745EBE#745EBE

#745EBE is a mid, vivid violet. Relative luminance 0.154; OKLCH L 54.9% C 0.145 H 291.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#745EBE
RGBrgb(116, 94, 190)
HSLhsl(254, 42%, 56%)
HSVhsv(254, 51%, 75%)
CMYKcmyk(38.9%, 50.5%, 0%, 25.5%)
CIE-LABlab(46.23, 31.63, -47.63)
CIE-LCHlch(46.23, 57.18, 303.58°)
OKLaboklab(54.93% 0.053 -0.1349)
OKLCHoklch(54.93% 0.145 291.4)
XYZxyz(20.4969, 15.4356, 50.6046)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745EBE #A8BE5E
analogous
#5E78BE #745EBE #A45EBE
triadic
#745EBE #BE745E #5EBE74
tetradic
#745EBE #BE5E78 #A8BE5E #5EBEA4
square
#745EBE #BE5E78 #A8BE5E #5EBEA4
split-complementary
#745EBE #BEA45E #78BE5E
monochromatic
#3E2E73 #56409F #745EBE #9A8AD0 #BFB5E1

Accessibility & contrast

On white

5.14
#745EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#745EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745EBE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745EBE#FFFFFF#000000##FFFFFF
##745EBE1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC1
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#617185
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #745ebe;
/* rgb */ color: rgb(116, 94, 190);
/* oklch */ color: oklch(54.9% 0.145 291.4);
Tailwind
colors: {
  custom: {
    50: '#a08cd2',
    500: '#745ebe',
    950: '#000000',
  },
}
SCSS
$custom: #745ebe;
$custom-light: #a08cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#745ebe",
  "rgb": {
    "r": 116,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 253.75,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.14491,
    "h": 291.4
  },
  "luminance": 0.15436
}

Semantic roles & 50–950 ramp

primary
#745EBE
secondary
#C7D0A8
accent
#D256B6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #745EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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