#8564F4

A color in the Violet family

#8564f4 is a color in the Violet family: RGB(133, 100, 244), HSL(254°, 87%, 67%), CMYK(45%, 59%, 0%, 4%). Closest named color: mediumslateblue. Contrast is 4.1:1 on white and 5.13:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8564f4
RGBrgb(133 100 244)
RGB (legacy)rgb(133, 100, 244)
RGB %rgb(52% 39% 96%)
HSLhsl(254 87% 67%)
HSV / HSBhsv(254, 59%, 96%)
HWBhwb(254 39% 4%)
CMYKcmyk(45%, 59%, 0%, 4%)
CIELAB (D50)lab(51.65 39.8 -69.17)
LCHlch(51.65 79.8 299.92)
OKLaboklab(0.6107 0.0685 -0.1944)
OKLCHoklch(0.6107 0.2062 289.4)
Decimal8742132

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 1.9
Closest web-safe color#9966ff
Hue254°
Saturation (HSL / HSV)87% / 59%
Lightness (HSL)67%
Brightness or Value (HSV)96%
Luminance (Rec.601 / Rec.709)50% / 46%
Relative luminance (WCAG)0.2063
Red / Green / Blue133 / 100 / 244

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.10:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.13: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 67.7 / -34 · As background with white / black text: Lc -73.2 / 36.4

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: #8564f4;
  --color-brand-oklch: oklch(61.07% 0.2062 289.4);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(133 100 244 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8564f4] text-[#8564f4] border-[#8564f4]">