#AA6DFD

A color in the Violet family

#aa6dfd is a color in the Violet family: RGB(170, 109, 253), HSL(265°, 97%, 71%), CMYK(33%, 57%, 0%, 1%). Closest named color: mediumpurple. Contrast is 3.33:1 on white and 6.32:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#aa6dfd
RGBrgb(170 109 253)
RGB (legacy)rgb(170, 109, 253)
RGB %rgb(67% 43% 99%)
HSLhsl(265 97% 71%)
HSV / HSBhsv(265, 57%, 99%)
HWBhwb(265 43% 1%)
CMYKcmyk(33%, 57%, 0%, 1%)
CIELAB (D50)lab(57.91 46.31 -63.86)
LCHlch(57.91 78.89 305.95)
OKLaboklab(0.6652 0.1049 -0.1789)
OKLCHoklch(0.6652 0.2074 300.38)
Decimal11169277

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 6.4
Closest web-safe color#9966ff
Hue265°
Saturation (HSL / HSV)97% / 57%
Lightness (HSL)71%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)56% / 52%
Relative luminance (WCAG)0.2658
Red / Green / Blue170 / 109 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.33:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.32: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 60.3 / -41.5 · As background with white / black text: Lc -65.7 / 43.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: #aa6dfd;
  --color-brand-oklch: oklch(66.52% 0.2074 300.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 109 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aa6dfd] text-[#aa6dfd] border-[#aa6dfd]">