#806AFD

A color in the Violet family

#806afd is a color in the Violet family: RGB(128, 106, 253), HSL(249°, 97%, 70%), CMYK(49%, 58%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 3.89:1 on white and 5.4:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#806afd
RGBrgb(128 106 253)
RGB (legacy)rgb(128, 106, 253)
RGB %rgb(50% 42% 99%)
HSLhsl(249 97% 70%)
HSV / HSBhsv(249, 58%, 99%)
HWBhwb(249 42% 1%)
CMYKcmyk(49%, 58%, 0%, 1%)
CIELAB (D50)lab(53.05 37.44 -71.93)
LCHlch(53.05 81.09 297.5)
OKLaboklab(0.6224 0.0557 -0.2023)
OKLCHoklch(0.6224 0.2099 285.38)
Decimal8415997

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 2.4
Closest web-safe color#9966ff
Hue249°
Saturation (HSL / HSV)97% / 58%
Lightness (HSL)70%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)51% / 48%
Relative luminance (WCAG)0.2199
Red / Green / Blue128 / 106 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.89:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.40: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 65.9 / -35.7 · As background with white / black text: Lc -71.5 / 38.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: #806afd;
  --color-brand-oklch: oklch(62.24% 0.2099 285.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(128 106 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#806afd] text-[#806afd] border-[#806afd]">