#A05DFD

A color in the Violet family

#a05dfd is a color in the Violet family: RGB(160, 93, 253), HSL(265°, 98%, 68%), CMYK(37%, 63%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 3.83:1 on white and 5.48:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a05dfd
RGBrgb(160 93 253)
RGB (legacy)rgb(160, 93, 253)
RGB %rgb(63% 36% 99%)
HSLhsl(265 98% 68%)
HSV / HSBhsv(265, 63%, 99%)
HWBhwb(265 36% 1%)
CMYKcmyk(37%, 63%, 0%, 1%)
CIELAB (D50)lab(53.62 51.73 -70.81)
LCHlch(53.62 87.69 306.15)
OKLaboklab(0.6327 0.1103 -0.1989)
OKLCHoklch(0.6327 0.2274 299)
Decimal10509821

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.83:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.48: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.3 / -36.4 · As background with white / black text: Lc -70.8 / 38.8

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