#866DFD

A color in the Violet family

#866dfd is a color in the Violet family: RGB(134, 109, 253), HSL(250°, 97%, 71%), CMYK(47%, 57%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 3.74:1 on white and 5.62:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#866dfd
RGBrgb(134 109 253)
RGB (legacy)rgb(134, 109, 253)
RGB %rgb(53% 43% 99%)
HSLhsl(250 97% 71%)
HSV / HSBhsv(250, 57%, 99%)
HWBhwb(250 43% 1%)
CMYKcmyk(47%, 57%, 0%, 1%)
CIELAB (D50)lab(54.26 37.22 -69.94)
LCHlch(54.26 79.23 298.02)
OKLaboklab(0.6321 0.0599 -0.1966)
OKLCHoklch(0.6321 0.2055 286.95)
Decimal8809981

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 3
Closest web-safe color#9966ff
Hue250°
Saturation (HSL / HSV)97% / 57%
Lightness (HSL)71%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)52% / 49%
Relative luminance (WCAG)0.231
Red / Green / Blue134 / 109 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.74:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.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 64.6 / -37.1 · As background with white / black text: Lc -70.1 / 39.5

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: #866dfd;
  --color-brand-oklch: oklch(63.21% 0.2055 286.95);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(134 109 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#866dfd] text-[#866dfd] border-[#866dfd]">