#745CCC#745CCC

#745CCC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.5% C 0.167 H 289.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#745CCC
RGBrgb(116, 92, 204)
HSLhsl(253, 52%, 58%)
HSVhsv(253, 55%, 80%)
CMYKcmyk(43.1%, 54.9%, 0%, 20%)
CIE-LABlab(46.61, 36.76, -55.09)
CIE-LCHlch(46.61, 66.23, 303.71°)
OKLaboklab(55.5% 0.0562 -0.1568)
OKLCHoklch(55.5% 0.167 289.7)
XYZxyz(21.9256, 15.7262, 58.9953)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CCC #B4CC5C
analogous
#5C7CCC #745CCC #AC5CCC
triadic
#745CCC #CC745C #5CCC74
tetradic
#745CCC #CC5C7C #B4CC5C #5CCCAC
square
#745CCC #CC5C7C #B4CC5C #5CCCAC
split-complementary
#745CCC #CCAC5C #7CCC5C
monochromatic
#3D2984 #5238B3 #745CCC #9C8BDB #C4B9E9

Accessibility & contrast

On white

5.07
#745CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#745CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745CCC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745CCC#FFFFFF#000000##FFFFFF
##745CCC1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D0
Deuteranopia (green-blind)
#256CCA
Tritanopia (blue-blind)
#5A748B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #745ccc;
/* rgb */ color: rgb(116, 92, 204);
/* oklch */ color: oklch(55.5% 0.167 289.7);
Tailwind
colors: {
  custom: {
    50: '#a18bdc',
    500: '#745ccc',
    950: '#000000',
  },
}
SCSS
$custom: #745ccc;
$custom-light: #a18bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#745ccc",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 252.857,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55496,
    "c": 0.16656,
    "h": 289.7
  },
  "luminance": 0.15727
}

Semantic roles & 50–950 ramp

primary
#745CCC
secondary
#CFD8AC
accent
#DC4CBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #745CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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