#745DDB#745DDB

#745DDB is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.185 H 287.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#745DDB
RGBrgb(116, 93, 219)
HSLhsl(251, 64%, 61%)
HSVhsv(251, 58%, 86%)
CMYKcmyk(47%, 57.5%, 0%, 14.1%)
CIE-LABlab(47.82, 40.49, -61.72)
CIE-LCHlch(47.82, 73.81, 303.27°)
OKLaboklab(56.7% 0.0552 -0.1763)
OKLCHoklch(56.7% 0.185 287.4)
XYZxyz(23.8993, 16.6552, 68.9596)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745DDB #C4DB5D
analogous
#5D85DB #745DDB #B35DDB
triadic
#745DDB #DB745D #5DDB74
tetradic
#745DDB #DB5D85 #C4DB5D #5DDBB3
square
#745DDB #DB5D85 #C4DB5D #5DDBB3
split-complementary
#745DDB #DBB35D #85DB5D
monochromatic
#38229B #4B2ECD #745DDB #9F8FE6 #CAC1F1

Accessibility & contrast

On white

4.85
#745DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#745DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745DDB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745DDB#FFFFFF#000000##FFFFFF
##745DDB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#527993
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #745ddb;
/* rgb */ color: rgb(116, 93, 219);
/* oklch */ color: oklch(56.7% 0.185 287.4);
Tailwind
colors: {
  custom: {
    50: '#a38ce7',
    500: '#745ddb',
    950: '#000000',
  },
}
SCSS
$custom: #745ddb;
$custom-light: #a38ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#745ddb",
  "rgb": {
    "r": 116,
    "g": 93,
    "b": 219
  },
  "hsl": {
    "h": 250.952,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56702,
    "c": 0.18469,
    "h": 287.4
  },
  "luminance": 0.16656
}

Semantic roles & 50–950 ramp

primary
#745DDB
secondary
#D9E2B2
accent
#CB1AAB
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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