#8D5DFD

A color in the Violet family

#8d5dfd is a color in the Violet family: RGB(141, 93, 253), HSL(258°, 98%, 68%), CMYK(44%, 63%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 4.1:1 on white and 5.12:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8d5dfd
RGBrgb(141 93 253)
RGB (legacy)rgb(141, 93, 253)
RGB %rgb(55% 36% 99%)
HSLhsl(258 98% 68%)
HSV / HSBhsv(258, 63%, 99%)
HWBhwb(258 36% 1%)
CMYKcmyk(44%, 63%, 0%, 1%)
CIELAB (D50)lab(51.53 47.29 -74.32)
LCHlch(51.53 88.09 302.47)
OKLaboklab(0.614 0.0855 -0.2091)
OKLCHoklch(0.614 0.2259 292.24)
Decimal9264637

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 4.1
Closest web-safe color#9966ff
Hue258°
Saturation (HSL / HSV)98% / 63%
Lightness (HSL)68%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)49% / 45%
Relative luminance (WCAG)0.2058
Red / Green / Blue141 / 93 / 253

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.12: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.6 / -34 · As background with white / black text: Lc -73.1 / 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: #8d5dfd;
  --color-brand-oklch: oklch(61.4% 0.2259 292.24);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(141 93 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8d5dfd] text-[#8d5dfd] border-[#8d5dfd]">