#745DDD#745DDD

#745DDD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.8% C 0.187 H 287.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#745DDD
RGBrgb(116, 93, 221)
HSLhsl(251, 65%, 62%)
HSVhsv(251, 58%, 87%)
CMYKcmyk(47.5%, 57.9%, 0%, 13.3%)
CIE-LABlab(47.96, 41.07, -62.63)
CIE-LCHlch(47.96, 74.90, 303.25°)
OKLaboklab(56.85% 0.0551 -0.179)
OKLCHoklch(56.85% 0.187 287.1)
XYZxyz(24.1642, 16.7611, 70.3546)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745DDD #C6DD5D
analogous
#5D86DD #745DDD #B45DDD
triadic
#745DDD #DD745D #5DDD74
tetradic
#745DDD #DD5D86 #C6DD5D #5DDDB4
square
#745DDD #DD5D86 #C6DD5D #5DDDB4
split-complementary
#745DDD #DDB45D #86DD5D
monochromatic
#38219E #4A2CD1 #745DDD #9F90E8 #CBC2F2

Accessibility & contrast

On white

4.82
#745DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#745DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745DDD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745DDD#FFFFFF#000000##FFFFFF
##745DDD1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#517A94
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #745ddd;
/* rgb */ color: rgb(116, 93, 221);
/* oklch */ color: oklch(56.8% 0.187 287.1);
Tailwind
colors: {
  custom: {
    50: '#a38ce8',
    500: '#745ddd',
    950: '#000000',
  },
}
SCSS
$custom: #745ddd;
$custom-light: #a38ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#745ddd",
  "rgb": {
    "r": 116,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 250.781,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.18726,
    "h": 287.1
  },
  "luminance": 0.16762
}

Semantic roles & 50–950 ramp

primary
#745DDD
secondary
#DAE3B3
accent
#CD18AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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