#745FC6#745FC6

#745FC6 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.6% C 0.154 H 289.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#745FC6
RGBrgb(116, 95, 198)
HSLhsl(252, 47%, 57%)
HSVhsv(252, 52%, 78%)
CMYKcmyk(41.4%, 52%, 0%, 22.4%)
CIE-LABlab(46.94, 33.29, -51.12)
CIE-LCHlch(46.94, 61.00, 303.07°)
OKLaboklab(55.62% 0.0523 -0.1451)
OKLCHoklch(55.62% 0.154 289.8)
XYZxyz(21.4849, 15.9740, 55.3664)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FC6 #B1C65F
analogous
#5F7EC6 #745FC6 #A75FC6
triadic
#745FC6 #C6745F #5FC674
tetradic
#745FC6 #C65F7E #B1C65F #5FC6A7
square
#745FC6 #C65F7E #B1C65F #5FC6A7
split-complementary
#745FC6 #C6A75F #7EC65F
monochromatic
#3D2D7E #533DAB #745FC6 #9B8CD6 #C2B9E6

Accessibility & contrast

On white

5.01
#745FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#745FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745FC6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745FC6#FFFFFF#000000##FFFFFF
##745FC61.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3271CA
Deuteranopia (green-blind)
#346DC4
Tritanopia (blue-blind)
#5D7489
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #745fc6;
/* rgb */ color: rgb(116, 95, 198);
/* oklch */ color: oklch(55.6% 0.154 289.8);
Tailwind
colors: {
  custom: {
    50: '#a08dd8',
    500: '#745fc6',
    950: '#000000',
  },
}
SCSS
$custom: #745fc6;
$custom-light: #a08dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#745fc6",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 198
  },
  "hsl": {
    "h": 252.233,
    "s": 47.465,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55619,
    "c": 0.15424,
    "h": 289.8
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#745FC6
secondary
#CDD5AC
accent
#D751BC
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #745FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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