#AB80DA

A color in the Violet family

#ab80da is a color in the Violet family: RGB(171, 128, 218), HSL(269°, 55%, 68%), CMYK(22%, 41%, 0%, 15%). Closest named color: mediumpurple. Contrast is 3.07:1 on white and 6.83:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ab80da
RGBrgb(171 128 218)
RGB (legacy)rgb(171, 128, 218)
RGB %rgb(67% 50% 85%)
HSLhsl(269 55% 68%)
HSV / HSBhsv(269, 41%, 85%)
HWBhwb(269 50% 15%)
CMYKcmyk(22%, 41%, 0%, 15%)
CIELAB (D50)lab(60.59 30.23 -40.21)
LCHlch(60.59 50.31 306.94)
OKLaboklab(0.6769 0.0781 -0.1113)
OKLCHoklch(0.6769 0.1359 305.06)
Decimal11239642

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.9
Closest web-safe color#9999cc
Hue269°
Saturation (HSL / HSV)55% / 41%
Lightness (HSL)68%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)59% / 56%
Relative luminance (WCAG)0.2916
Red / Green / Blue171 / 128 / 218

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.07:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.83: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 57.5 / -44.3 · As background with white / black text: Lc -62.9 / 46.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: #ab80da;
  --color-brand-oklch: oklch(67.69% 0.1359 305.06);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(171 128 218 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ab80da] text-[#ab80da] border-[#ab80da]">