#A15DFD

A color in the Violet family

#a15dfd is a color in the Violet family: RGB(161, 93, 253), HSL(266°, 98%, 68%), CMYK(36%, 63%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 3.82:1 on white and 5.5:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a15dfd
RGBrgb(161 93 253)
RGB (legacy)rgb(161, 93, 253)
RGB %rgb(63% 36% 99%)
HSLhsl(266 98% 68%)
HSV / HSBhsv(266, 63%, 99%)
HWBhwb(266 36% 1%)
CMYKcmyk(36%, 63%, 0%, 1%)
CIELAB (D50)lab(53.74 51.97 -70.61)
LCHlch(53.74 87.68 306.35)
OKLaboklab(0.6337 0.1116 -0.1983)
OKLCHoklch(0.6337 0.2276 299.36)
Decimal10575357

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 6.7
Closest web-safe color#9966ff
Hue266°
Saturation (HSL / HSV)98% / 63%
Lightness (HSL)68%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)52% / 47%
Relative luminance (WCAG)0.225
Red / Green / Blue161 / 93 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.82:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.50: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.1 / -36.5 · As background with white / black text: Lc -70.6 / 39

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: #a15dfd;
  --color-brand-oklch: oklch(63.37% 0.2276 299.36);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(161 93 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a15dfd] text-[#a15dfd] border-[#a15dfd]">