#6C5DFD

A color in the Violet family

#6c5dfd is a color in the Violet family: RGB(108, 93, 253), HSL(246°, 98%, 68%), CMYK(57%, 63%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 4.54:1 on white and 4.62:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#6c5dfd
RGBrgb(108 93 253)
RGB (legacy)rgb(108, 93, 253)
RGB %rgb(42% 36% 99%)
HSLhsl(246 98% 68%)
HSV / HSBhsv(246, 63%, 99%)
HWBhwb(246 36% 1%)
CMYKcmyk(57%, 63%, 0%, 1%)
CIELAB (D50)lab(48.43 40.28 -79.51)
LCHlch(48.43 89.13 296.87)
OKLaboklab(0.5863 0.0433 -0.2241)
OKLCHoklch(0.5863 0.2283 280.93)
Decimal7101949

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 4.2
Closest web-safe color#6666ff
Hue246°
Saturation (HSL / HSV)98% / 63%
Lightness (HSL)68%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)45% / 42%
Relative luminance (WCAG)0.1811
Red / Green / Blue108 / 93 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.54:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.62: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 71 / -30.7 · As background with white / black text: Lc -76.5 / 33.1

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: #6c5dfd;
  --color-brand-oklch: oklch(58.63% 0.2283 280.93);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(108 93 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6c5dfd] text-[#6c5dfd] border-[#6c5dfd]">