#AD5DFD

A color in the Violet family

#ad5dfd is a color in the Violet family: RGB(173, 93, 253), HSL(270°, 98%, 68%), CMYK(32%, 63%, 0%, 1%). Closest named color: mediumorchid. Contrast is 3.65:1 on white and 5.76:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ad5dfd
RGBrgb(173 93 253)
RGB (legacy)rgb(173, 93, 253)
RGB %rgb(68% 36% 99%)
HSLhsl(270 98% 68%)
HSV / HSBhsv(270, 63%, 99%)
HWBhwb(270 36% 1%)
CMYKcmyk(32%, 63%, 0%, 1%)
CIELAB (D50)lab(55.17 54.87 -68.22)
LCHlch(55.17 87.55 308.81)
OKLaboklab(0.6464 0.127 -0.1914)
OKLCHoklch(0.6464 0.2297 303.56)
Decimal11361789

Properties

Color ToneViolet
Closest named colormediumorchid ΔE 6.8
Closest web-safe color#9966ff
Hue270°
Saturation (HSL / HSV)98% / 63%
Lightness (HSL)68%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)53% / 48%
Relative luminance (WCAG)0.238
Red / Green / Blue173 / 93 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.65:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.76: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.4 / -38.2 · As background with white / black text: Lc -68.9 / 40.6

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