#745DC2#745DC2

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

Color values

HEX#745DC2
RGBrgb(116, 93, 194)
HSLhsl(254, 45%, 56%)
HSVhsv(254, 52%, 76%)
CMYKcmyk(40.2%, 52.1%, 0%, 23.9%)
CIE-LABlab(46.23, 33.34, -49.95)
CIE-LCHlch(46.23, 60.06, 303.72°)
OKLaboklab(55.01% 0.0546 -0.1417)
OKLCHoklch(55.01% 0.152 291.1)
XYZxyz(20.8518, 15.4361, 52.9093)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745DC2 #ABC25D
analogous
#5D79C2 #745DC2 #A75DC2
triadic
#745DC2 #C2745D #5DC274
tetradic
#745DC2 #C25D79 #ABC25D #5DC2A7
square
#745DC2 #C25D79 #ABC25D #5DC2A7
split-complementary
#745DC2 #C2A75D #79C25D
monochromatic
#3E2D78 #553EA4 #745DC2 #9A89D3 #C0B6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##745DC2#FFFFFF#000000##FFFFFF
##745DC21.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)
#316FC6
Deuteranopia (green-blind)
#356BC0
Tritanopia (blue-blind)
#5F7287
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #745dc2;
/* rgb */ color: rgb(116, 93, 194);
/* oklch */ color: oklch(55.0% 0.152 291.1);
Tailwind
colors: {
  custom: {
    50: '#a08bd5',
    500: '#745dc2',
    950: '#000000',
  },
}
SCSS
$custom: #745dc2;
$custom-light: #a08bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#745dc2",
  "rgb": {
    "r": 116,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 253.663,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55009,
    "c": 0.15182,
    "h": 291.1
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#745DC2
secondary
#C9D2A9
accent
#D553B7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #745DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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