#745CE3#745CE3

#745CE3 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.196 H 286.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#745CE3
RGBrgb(116, 92, 227)
HSLhsl(251, 71%, 63%)
HSVhsv(251, 59%, 89%)
CMYKcmyk(48.9%, 59.5%, 0%, 11%)
CIE-LABlab(48.15, 43.39, -65.72)
CIE-LCHlch(48.15, 78.75, 303.43°)
OKLaboklab(57.12% 0.056 -0.188)
OKLCHoklch(57.12% 0.196 286.6)
XYZxyz(24.8907, 16.9122, 74.6110)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CE3 #CBE35C
analogous
#5C87E3 #745CE3 #B85CE3
triadic
#745CE3 #E3745C #5CE374
tetradic
#745CE3 #E35C87 #CBE35C #5CE3B8
square
#745CE3 #E35C87 #CBE35C #5CE3B8
split-complementary
#745CE3 #E3B85C #87E35C
monochromatic
#361DA8 #4728DA #745CE3 #A190EC #CDC4F5

Accessibility & contrast

On white

4.79
#745CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#745CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745CE3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745CE3#FFFFFF#000000##FFFFFF
##745CE31.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#4D7B97
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #745ce3;
/* rgb */ color: rgb(116, 92, 227);
/* oklch */ color: oklch(57.1% 0.196 286.6);
Tailwind
colors: {
  custom: {
    50: '#a48bed',
    500: '#745ce3',
    950: '#000000',
  },
}
SCSS
$custom: #745ce3;
$custom-light: #a48bed;
$custom-dark: #000000;
JSON
{
  "hex": "#745ce3",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 250.667,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57116,
    "c": 0.19621,
    "h": 286.6
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#745CE3
secondary
#DDE6B5
accent
#D313B1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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