#8F6DFD

A color in the Violet family

#8f6dfd is a color in the Violet family: RGB(143, 109, 253), HSL(254°, 97%, 71%), CMYK(43%, 57%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 3.64:1 on white and 5.77:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8f6dfd
RGBrgb(143 109 253)
RGB (legacy)rgb(143, 109, 253)
RGB %rgb(56% 43% 99%)
HSLhsl(254 97% 71%)
HSV / HSBhsv(254, 57%, 99%)
HWBhwb(254 43% 1%)
CMYKcmyk(43%, 57%, 0%, 1%)
CIELAB (D50)lab(55.1 39.41 -68.54)
LCHlch(55.1 79.06 299.9)
OKLaboklab(0.6398 0.0711 -0.1925)
OKLCHoklch(0.6398 0.2052 290.26)
Decimal9399805

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 4.1
Closest web-safe color#9966ff
Hue254°
Saturation (HSL / HSV)97% / 57%
Lightness (HSL)71%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)53% / 50%
Relative luminance (WCAG)0.2387
Red / Green / Blue143 / 109 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.64:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.77: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 63.6 / -38.1 · As background with white / black text: Lc -69.1 / 40.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: #8f6dfd;
  --color-brand-oklch: oklch(63.98% 0.2052 290.26);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(143 109 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8f6dfd] text-[#8f6dfd] border-[#8f6dfd]">