#745DFD

A color in the Violet family

#745dfd is a color in the Violet family: RGB(116, 93, 253), HSL(249°, 98%, 68%), CMYK(54%, 63%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 4.44:1 on white and 4.73:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#745dfd
RGBrgb(116 93 253)
RGB (legacy)rgb(116, 93, 253)
RGB %rgb(45% 36% 99%)
HSLhsl(249 98% 68%)
HSV / HSBhsv(249, 63%, 99%)
HWBhwb(249 36% 1%)
CMYKcmyk(54%, 63%, 0%, 1%)
CIELAB (D50)lab(49.11 41.88 -78.36)
LCHlch(49.11 88.85 298.12)
OKLaboklab(0.5925 0.0533 -0.2208)
OKLCHoklch(0.5925 0.2272 283.56)
Decimal7626237

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 3.6
Closest web-safe color#6666ff
Hue249°
Saturation (HSL / HSV)98% / 63%
Lightness (HSL)68%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)46% / 43%
Relative luminance (WCAG)0.1863
Red / Green / Blue116 / 93 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.44:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.73:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 70.3 / -31.4 · As background with white / black text: Lc -75.8 / 33.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #745dfd;
  --color-brand-oklch: oklch(59.25% 0.2272 283.56);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(116 93 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#745dfd] text-[#745dfd] border-[#745dfd]">