#745AC8#745AC8

#745AC8 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.9% C 0.164 H 290.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#745AC8
RGBrgb(116, 90, 200)
HSLhsl(254, 50%, 57%)
HSVhsv(254, 55%, 78%)
CMYKcmyk(42%, 55%, 0%, 21.6%)
CIE-LABlab(45.90, 36.80, -53.94)
CIE-LCHlch(45.90, 65.30, 304.31°)
OKLaboklab(54.89% 0.0585 -0.1534)
OKLCHoklch(54.89% 0.164 290.9)
XYZxyz(21.2811, 15.1948, 56.4440)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AC8 #AEC85A
analogous
#5A77C8 #745AC8 #AB5AC8
triadic
#745AC8 #C8745A #5AC874
tetradic
#745AC8 #C85A77 #AEC85A #5AC8AB
square
#745AC8 #C85A77 #AEC85A #5AC8AB
split-complementary
#745AC8 #C8AB5A #77C85A
monochromatic
#3E2A7E #5439AC #745AC8 #9B88D7 #C1B6E7

Accessibility & contrast

On white

5.20
#745AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#745AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745AC8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AC8#FFFFFF#000000##FFFFFF
##745AC81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226FCC
Deuteranopia (green-blind)
#276AC6
Tritanopia (blue-blind)
#5C7288
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #745ac8;
/* rgb */ color: rgb(116, 90, 200);
/* oklch */ color: oklch(54.9% 0.164 290.9);
Tailwind
colors: {
  custom: {
    50: '#a189d9',
    500: '#745ac8',
    950: '#000000',
  },
}
SCSS
$custom: #745ac8;
$custom-light: #a189d9;
$custom-dark: #000000;
JSON
{
  "hex": "#745ac8",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 254.182,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.16418,
    "h": 290.9
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#745AC8
secondary
#CBD5A8
accent
#DA4EB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #745AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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