#AB66DA#AB66DA

#AB66DA is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.5% C 0.178 H 309.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AB66DA
RGBrgb(171, 102, 218)
HSLhsl(276, 61%, 63%)
HSVhsv(276, 53%, 85%)
CMYKcmyk(21.6%, 53.2%, 0%, 14.5%)
CIE-LABlab(55.30, 48.29, -48.85)
CIE-LCHlch(55.30, 68.69, 314.67°)
OKLaboklab(63.49% 0.1137 -0.1369)
OKLCHoklch(63.49% 0.178 309.7)
XYZxyz(34.1984, 23.2232, 68.9970)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66DA #95DA66
analogous
#7166DA #AB66DA #DA66CF
triadic
#AB66DA #DAAB66 #66DAAB
tetradic
#AB66DA #DA7166 #95DA66 #66CFDA
square
#AB66DA #DA7166 #95DA66 #66CFDA
split-complementary
#AB66DA #CFDA66 #66DA71
monochromatic
#6E269F #9035CE #AB66DA #C697E6 #E1C9F2

Accessibility & contrast

On white

3.72
#AB66DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#AB66DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66DA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66DA#FFFFFF#000000##000000
##AB66DA1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DE
Deuteranopia (green-blind)
#5B86D7
Tritanopia (blue-blind)
#A57A96
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab66da;
/* rgb */ color: rgb(171, 102, 218);
/* oklch */ color: oklch(63.5% 0.178 309.7);
Tailwind
colors: {
  custom: {
    50: '#c794e6',
    500: '#ab66da',
    950: '#000000',
  },
}
SCSS
$custom: #ab66da;
$custom-light: #c794e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66da",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 275.69,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63493,
    "c": 0.17801,
    "h": 309.7
  },
  "luminance": 0.23223
}

Semantic roles & 50–950 ramp

primary
#AB66DA
secondary
#CAE3B9
accent
#C91D62
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB66DA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AB66DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva